From b9188a6dffbeab3dd62b9c6133396e665ede7a52 Mon Sep 17 00:00:00 2001 From: Alexander Milevski Date: Fri, 8 Dec 2023 10:45:46 +0100 Subject: [PATCH 1/4] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2b70500..a12cc1b 100755 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ Wrapper library for [`@linkurious/ogma`](https://ogma.linkurio.us) to use with [ - [``](#popup-) - [``](#tooltip-) - [``](#canvaslayer-) + - [``](#layer-) + - [``](#overlay-) - Transformations: - [``](#nodegrouping-) - [``](#edgegrouping-) From ac0c13dbc27d3b70d4c90a602b7a86f2d860e5ff Mon Sep 17 00:00:00 2001 From: w8r Date: Fri, 8 Dec 2023 11:19:42 +0100 Subject: [PATCH 2/4] Fixed demo publishing --- demo/{ => public}/data.json | 0 demo/src/App.tsx | 4 ++-- demo/vite.config.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename demo/{ => public}/data.json (100%) diff --git a/demo/data.json b/demo/public/data.json similarity index 100% rename from demo/data.json rename to demo/public/data.json diff --git a/demo/src/App.tsx b/demo/src/App.tsx index f0ded54..28bb262 100644 --- a/demo/src/App.tsx +++ b/demo/src/App.tsx @@ -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 }) ); }} > diff --git a/demo/vite.config.ts b/demo/vite.config.ts index e382dfa..07301d4 100644 --- a/demo/vite.config.ts +++ b/demo/vite.config.ts @@ -5,5 +5,6 @@ import react from "@vitejs/plugin-react"; // https://vitejs.dev/config/ export default defineConfig({ + base: "/ogma-react/", plugins: [react()], }); From 915b0b111d0f2e95ba82c2e61fe77c1db9a328d5 Mon Sep 17 00:00:00 2001 From: Leo Nicolle Date: Thu, 22 Feb 2024 16:33:45 +0100 Subject: [PATCH 3/4] bump ogma --- package-lock.json | 18 +++++++++--------- package.json | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index be8645d..1e5c203 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@linkurious/ogma-react", - "version": "4.6.1", + "version": "5.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@linkurious/ogma-react", - "version": "4.6.1", + "version": "5.0.2", "license": "Apache-2.0", "dependencies": { "lodash.throttle": "^4.1.1" @@ -40,7 +40,7 @@ "vitest": "latest" }, "peerDependencies": { - "@linkurious/ogma": "^4.5.1", + "@linkurious/ogma": "^5.0.2", "react": "^18.0.8", "react-dom": "^18.0.8" } @@ -915,9 +915,9 @@ } }, "node_modules/@linkurious/ogma": { - "version": "4.6.0", - "resolved": "https://nexus3.linkurious.net/repository/npm/@linkurious/ogma/-/ogma-4.6.0.tgz", - "integrity": "sha512-emz+r/QZP+P4cP2z8j3MAhQEBAtpqra+9n+1OqMdVt2cRKovZBSJZ0fs8ISq7MCz+ETgbl1iFZ374iCha1yezQ==", + "version": "5.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/@linkurious/ogma/-/ogma-5.0.2.tgz", + "integrity": "sha512-FugQX6pCGU9lXPGmAerLGqY5KE6328mN1lhZyH7oTx/9cgc8InmRDeHZsEKwlOjBoUawSPuUHvUgfu/5/3hmUA==", "peer": true, "optionalDependencies": { "@mapbox/mapbox-gl-rtl-text": "^0.2.0", @@ -9778,9 +9778,9 @@ } }, "@linkurious/ogma": { - "version": "4.6.0", - "resolved": "https://nexus3.linkurious.net/repository/npm/@linkurious/ogma/-/ogma-4.6.0.tgz", - "integrity": "sha512-emz+r/QZP+P4cP2z8j3MAhQEBAtpqra+9n+1OqMdVt2cRKovZBSJZ0fs8ISq7MCz+ETgbl1iFZ374iCha1yezQ==", + "version": "5.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/@linkurious/ogma/-/ogma-5.0.2.tgz", + "integrity": "sha512-FugQX6pCGU9lXPGmAerLGqY5KE6328mN1lhZyH7oTx/9cgc8InmRDeHZsEKwlOjBoUawSPuUHvUgfu/5/3hmUA==", "peer": true, "requires": { "@mapbox/mapbox-gl-rtl-text": "^0.2.0", diff --git a/package.json b/package.json index a45f749..4a9587b 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" }, @@ -92,4 +92,4 @@ "dependencies": { "lodash.throttle": "^4.1.1" } -} +} \ No newline at end of file From a57ed70d4182757d7afe397fa8e3e14d9ede5607 Mon Sep 17 00:00:00 2001 From: Leo Nicolle Date: Thu, 22 Feb 2024 16:34:50 +0100 Subject: [PATCH 4/4] bump version --- .bumpversion.cfg | 2 +- .version | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 9fa1332..b907e33 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 4.6.1 +current_version = 5.0.2 commit = False tag = False serialize = diff --git a/.version b/.version index 8ac28bf..a1ef0ca 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -4.6.1 +5.0.2