Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 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
f538efe
New: Add tree layout (#107)
AlexIchenskiy Jun 3, 2025
572be3f
Fix: Change layout engine logic (#108)
AlexIchenskiy Mar 5, 2026
875ae32
New: Add multiselect (#110)
AlexIchenskiy Jul 3, 2026
ee21183
Chore: Update package.json
tonilastre Jul 3, 2026
01f3194
New: Add SVG export (#111)
AlexIchenskiy Jul 16, 2026
617ba93
New: Add WebGL renderer (#109)
AlexIchenskiy Jul 16, 2026
4df0092
New: Add docs page (#112)
AlexIchenskiy Jul 28, 2026
6fddd2f
Chore: Finish up the release process
tonilastre Jul 28, 2026
3472dd7
Chore: Fix sync between package.json files
tonilastre Jul 28, 2026
44c75aa
Chore: Add new package-lock.json
tonilastre Jul 28, 2026
1993d4e
Merge branch 'main' into release/1.0.0
tonilastre Jul 28, 2026
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
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ coverage/
dist/
node_modules/
examples/
docs/
webpack.config.js
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
{
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120
"printWidth": 120,
"endOfLine": "auto"
}
],
"brace-style": ["error", "1tbs"],
Expand All @@ -52,6 +53,7 @@
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unsafe-function-type": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/ban-types": "off",
"jest/no-standalone-expect": "off",
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: "16.x"
node-version: 22
cache: npm

- name: 'Install'
run: npm ci
Expand Down
83 changes: 83 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Deploy docs to GitHub Pages

on:
push:
# NOTE: `new/add-docs-page` is a TEMPORARY entry so the team can review a live
# deploy from the docs branch. Remove it before/at merge so main deploys only
# from main.
branches: [main]
# Validate the bundle + docs build on any PR that touches them, so reviewers
# get a green check without needing Pages enabled or a merge to main. The
# deploy job below is skipped for PRs.
pull_request:
paths:
- "docs/site/**"
- "src/**"
- ".github/workflows/docs.yml"
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

# One deploy at a time, but keep PR builds from cancelling a main deploy (and
# vice versa) by scoping the group per ref.
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- uses: actions/setup-node@v5
with:
node-version: 22
cache: npm

# 1. Build the Orb browser bundle from source so the live demos stay in sync.
- name: Build Orb bundle
run: |
npm ci
npm run build:release

# 2. Refresh the copies the docs site embeds.
- name: Sync bundle into docs site
run: |
cp dist/browser/orb.min.js docs/site/public/orb.min.js
cp dist/browser/orb.worker.min.js docs/site/public/orb.worker.min.js
# The module worker loads this shared vendor chunk as a sibling; without
# it the worker fails silently and layout simulation never runs.
cp dist/browser/orb.worker.vendor.min.js docs/site/public/orb.worker.vendor.min.js

# 3. Build the VitePress site.
- name: Build docs
working-directory: docs/site
run: |
npm install
npm run build

# 4. Package for Pages. Only needed for an actual deploy, so skip on PRs
# (where these steps would also fail until Pages is enabled).
- uses: actions/configure-pages@v5
if: github.event_name != 'pull_request'

- uses: actions/upload-pages-artifact@v3
if: github.event_name != 'pull_request'
with:
path: docs/site/.vitepress/dist

deploy:
needs: build
# Deploy only from main; PRs run the build job above for validation only.
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
24 changes: 19 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,35 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
if: github.repository == 'memgraph/orb'
permissions:
contents: write
issues: write
pull-requests: write
# Required for npm trusted publishing (OIDC) and provenance
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
with:
node-version: "16.x"
# semantic-release needs full history + tags to compute the next version
fetch-depth: 0
- uses: actions/setup-node@v5
with:
node-version: 22
cache: npm

# npm >= 11.5 is required for trusted publishing; Node 22 ships npm 10
- name: 'Update npm'
run: npm install -g npm@latest

- name: 'Install'
run: npm ci
- name: 'Lint'
run: npm run lint
- name: 'Build'
run: npm run build:release
- name: 'Test'
run: npm run test
- name: 'Release'
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ node_modules/

# IDEs and editors
.idea/
.vscode/

# Optional npm cache directory
.npm
Expand Down
2 changes: 0 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env sh
[ -n "$CI" ] && exit 0
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
4 changes: 1 addition & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/sh
[ -n "$CI" ] && exit 0
. "$(dirname "$0")/_/husky.sh"

npm run lint
npm run lint
7 changes: 4 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"branches": ["main"],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "eslint"
Expand All @@ -8,10 +9,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}"
}],
],
}]
]
}
Loading