Skip to content

Chore: Release/1.0.0 #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8d968a3
Fix: Fix multiple maps issue (#33)
cizl Nov 7, 2022
60d0721
Chore: Update package.json version
tonilastre Nov 7, 2022
ab9ba31
New: Change the API to handle OrbView and OrbMapView (#34)
tonilastre Nov 9, 2022
2cfe2bb
Chore: Release/1.0.0
tonilastre Apr 4, 2023
6496a33
Merge branch 'main' into release/1.0.0
tonilastre May 12, 2023
0e9ffb6
New: Add support to get selected/hovered nodes and edges (#61)
parmar-abhinav Jun 9, 2023
21e18b4
New: Add support for enabling and disabling dragging of nodes (fixes …
parmar-abhinav Jul 18, 2023
9852959
New: Add feature to enable/disable zoom (fixes memgraph#62)
parmar-abhinav Jul 18, 2023
cceb756
NEW: Updated documentation for interaction property
parmar-abhinav Jul 18, 2023
e3a1f24
NEW: Updated documentation to include isDragEnabled
parmar-abhinav Jul 21, 2023
9276434
Merge branch 'main' into release/1.0.0
tonilastre Jul 25, 2023
900f989
New: Add support for custom edge line style (#77)
parmar-abhinav Sep 4, 2023
c26dd8a
Merge branch 'main' into release/1.0.0
tonilastre Dec 15, 2023
cdb3a6d
New: Add support for handling device pixel ratio (#45)
tonilastre Feb 20, 2024
2530739
New: Add new simulator (#56) (#57)
tonilastre Mar 27, 2024
d02a980
Merge branch 'main' into release/1.0.0
tonilastre Mar 27, 2024
7cd077b
New: Add zoom in and out functions (#100)
AlexIchenskiy Mar 28, 2024
88c3006
Fix: Skip unnecessary listener notify on set style
AlexIchenskiy May 15, 2024
f273ad8
Fix: remove unnecessary rerender on state change
AlexIchenskiy Jul 3, 2024
e9133e5
Chore: Update documentation
AlexIchenskiy Jul 12, 2024
aad6a2e
Fix: Node/edge getter performance issue
AlexIchenskiy Jul 12, 2024
08cf6e2
Merge branch 'main' into release/1.0.0
AlexIchenskiy Jul 15, 2024
2570888
Chore: Add data change docs example
AlexIchenskiy Jul 15, 2024
0825293
Fix: Docs typos
AlexIchenskiy Jul 15, 2024
5771996
Fix: Disable source map generation (#105)
AlexIchenskiy Jul 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "16.x"
node-version: "18.x"

- name: 'Install'
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "16.x"
node-version: "18.x"

- name: 'Install'
run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
}],
"@semantic-release/changelog",
"@semantic-release/npm",
'@semantic-release/github',
"@semantic-release/github",
["@semantic-release/git", {
"assets": ["package.json", "CHANGELOG.md"],
"message": "Chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
],
}]
]
}
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Orb is a graph visualization library. Read more about Orb in the following guide
* [Styling nodes and edges](./docs/styles.md)
* [Handling events](./docs/events.md)
* Using different views
* [Default view](./docs/view-default.md)
* [Default view](./docs/view-default.md)
* [Map view](./docs/view-map.md)

## Install
Expand All @@ -43,7 +43,7 @@ Below you can find a simple Typescript example using Orb to visualize a small gr
free to check other JavaScript examples in `examples/` directory.

```typescript
import { Orb } from '@memgraph/orb';
import { OrbView } from '@memgraph/orb';
const container = document.getElementById('graph');

const nodes: MyNode[] = [
Expand All @@ -56,14 +56,14 @@ const edges: MyEdge[] = [
{ id: 2, start: 2, end: 3, label: 'ON' },
];

const orb = new Orb<MyNode, MyEdge>(container);
const orb = new OrbView<MyNode, MyEdge>(container);

// Initialize nodes and edges
orb.data.setup({ nodes, edges });

// Render and recenter the view
orb.view.render(() => {
orb.view.recenter();
orb.render(() => {
orb.recenter();
});
```

Expand Down Expand Up @@ -106,7 +106,7 @@ free to check other JavaScript examples in `examples/` directory.
<div id="graph"></div>
<script>
const container = document.getElementById("graph");

const nodes = [
{ id: 1, label: "Orb" },
{ id: 2, label: "Graph" },
Expand All @@ -116,16 +116,16 @@ free to check other JavaScript examples in `examples/` directory.
{ id: 1, start: 1, end: 2, label: "DRAWS" },
{ id: 2, start: 2, end: 3, label: "ON" },
];
// First `Orb` is just a namespace of the JS package
const orb = new Orb.Orb(container);

// First `Orb` is just a namespace of the JS package
const orb = new Orb.OrbView(container);

// Initialize nodes and edges
orb.data.setup({ nodes, edges });

// Render and recenter the view
orb.view.render(() => {
orb.view.recenter();
orb.render(() => {
orb.recenter();
});
</script>
</body>
Expand Down
Loading
Loading