Skip to content

Commit

Permalink
Merge pull request #82 from Linkurious/develop
Browse files Browse the repository at this point in the history
v5.0.2
  • Loading branch information
w8r authored Feb 22, 2024
2 parents 343c55a + a57ed70 commit 7530ba3
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 4.6.1
current_version = 5.0.2
commit = False
tag = False
serialize =
Expand Down
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.6.1
5.0.2
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Wrapper library for [`@linkurious/ogma`](https://ogma.linkurio.us) to use with [
- [`<Popup />`](#popup-)
- [`<Tooltip />`](#tooltip-)
- [`<CanvasLayer />`](#canvaslayer-)
- [`<Layer />`](#layer-)
- [`<Overlay />`](#overlay-)
- Transformations:
- [`<NodeGrouping />`](#nodegrouping-)
- [`<EdgeGrouping />`](#edgegrouping-)
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions demo/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ export default function App() {
.on("mousemove", () => {
const ptr = ogma.getPointerInformation();
requestSetTooltipPosition(
ogma.view.screenToGraphCoordinates({ x: ptr.x, y: ptr.y }),
ogma.view.screenToGraphCoordinates({ x: ptr.x, y: ptr.y })
);
setTarget(ptr.target);
})
// locate graph when the nodes are added
.on("addNodes", () =>
ogma.view.locateGraph({ duration: 250, padding: 50 }),
ogma.view.locateGraph({ duration: 250, padding: 50 })
);
}}
>
Expand Down
1 change: 1 addition & 0 deletions demo/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ import react from "@vitejs/plugin-react";

// https://vitejs.dev/config/
export default defineConfig({
base: "/ogma-react/",
plugins: [react()],
});
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linkurious/ogma-react",
"version": "4.6.1",
"version": "5.0.2",
"description": "A light adaptation of Ogma for React application",
"keywords": [
"ogma",
Expand Down Expand Up @@ -47,7 +47,7 @@
"doc:publish": "npm run build:demo && gh-pages -d demo/dist"
},
"peerDependencies": {
"@linkurious/ogma": "^4.5.1",
"@linkurious/ogma": "^5.0.2",
"react": "^18.0.8",
"react-dom": "^18.0.8"
},
Expand Down Expand Up @@ -92,4 +92,4 @@
"dependencies": {
"lodash.throttle": "^4.1.1"
}
}
}

0 comments on commit 7530ba3

Please sign in to comment.