Commit Graph
33 Commits
Author SHA1 Message Date
Braks 876b71dc19 refactor(core): use node/edge id as only dependency for nodes/edges list (#1447)
* refactor(core): use node id to (re-)render nodes

* refactor(core): use edge id to (re-)render nodes

* chore(changeset): add

* chore(core): cleanup

* chore(core): cast cmp as any
2024-06-06 10:45:38 +02:00
braks cc0b8b69a3 refactor(core): remove hidden check from getNodes & getEdges 2024-06-06 10:45:38 +02:00
braks ea45545835 refactor(core): use all nodes in node renderer 2024-06-06 10:45:38 +02:00
braks ffdea45af4 refactor(core): use useNodesInitialized to emit nodesInitialized 2024-02-15 17:46:21 +01:00
braks 584782bcc6 refactor(core): call nodes initialized whenever areNodesInitialized is true 2024-02-05 07:51:12 +01:00
braks 93f0802257 fix(core): queue node dimensions update to nextTick 2023-10-06 18:00:01 +02:00
braks 29f3d2d5e1 feat(core): add areNodesInitialized getter 2023-10-06 18:00:01 +02:00
Braks 5838454086 refactor(core): resolve slots before returning default component (#1013) 2023-07-10 19:20:26 +02:00
braks e3e6a03359 refactor(core): add explicit imports and remove auto-imports
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-25 20:48:26 +02:00
braks 5560949ed1 chore: lint files
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-11 20:28:02 +02:00
braks f61e5beb02 chore: lint files
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-31 21:30:23 +02:00
braks c330686833 fix(core): only use visible nodes to check if nodes are initialized
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-24 21:31:24 +01:00
braks 8c3f54ec28 feat(core): add onError hook
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-23 15:58:30 +01:00
braks 284e527a36 fix(core): force update node dimensions
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-08 16:32:11 +01:00
braks 566ba8e1f6 chore(core): revert node renderer & wrapper
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-02 08:47:38 +01:00
braks 4d535ed34c refactor(core): cleanup edge and node renderer
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-02 08:47:38 +01:00
Alex Van LiewandBraks b19b9a871b fix: add compatConfig to all components 2023-02-15 10:19:26 +01:00
braks a5ee9d978c refactor(core): use watcheffect to observe node dimensions
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-10 15:53:38 +01:00
braks bb2c4f449a chore(core): cleanup and replace const with function
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-02-07 12:27:41 +01:00
braks c1228c406d refactor(core): pass initialized nodes to nodes initialized hook
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-01-18 20:47:32 +01:00
braks d741bd1726 refactor(core): emit nodes initialized if getNodesInitialized has same length as nodes state
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-01-18 20:47:32 +01:00
braks c1b1821ee6 fix(core,nodes): slot props undefined on first render
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-30 01:06:52 +01:00
braks 828aa5f0bb chore(core): add todo
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-20 00:38:56 +01:00
braks 9f50dd0865 feat(core,nodes): implement a11y in nodes
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-20 00:38:56 +01:00
braks 94c0883db8 fix(core): node dimensions update condition to only force when dimensions defined
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-15 15:38:28 +01:00
braks 657f33b845 revert(core): force update on resize observer changes
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-15 15:38:28 +01:00
braks 4a8d77d79f refactor(core,nodes): remove forced update on resize observer trigger
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-14 15:53:47 +01:00
braks 650e7527ae chore(core): remove unnecessary import paths 2022-11-06 19:20:39 +01:00
braks a2e260fbaf chore(core): emit nodesInitialized after next tick 2022-11-06 09:40:55 +01:00
braks fe1ba03eb0 feat(core,nodes): add nodesInitialized event hook 2022-11-06 09:40:55 +01:00
Braks 395fcd2aab refactor(core): log warnings for non-prod node envs 2022-10-18 19:04:22 +02:00
braks ef3111bde0 chore(core): lint 2022-10-10 21:33:44 +02:00
braks 082050b164 refactor(core): rename core pkg dir to core 2022-10-10 21:33:44 +02:00