Commit Graph
39 Commits
Author SHA1 Message Date
peterkogo 2d1d4717d9 fixed errors but still WIP 2024-04-10 09:30:00 +02:00
moklick 3e59ab94f0 refactor(nodes): rename parentNode to parentId 2024-04-09 13:26:54 +02:00
moklick ea18e46a1a refactor(nodes): rename computed to measured, add helpers 2024-04-03 14:54:24 +02:00
moklick 844d574c4f refactor(react): separate user nodes and indernal nodes 2024-03-27 11:22:43 +01:00
moklick b1c30ee653 refactor(intersections): use passed node values for calculations 2024-03-14 16:14:48 +01:00
Moritz KlackandGitHub e5c667d068 Feat(nodes): add initialWidth and initialHeight (#3953)
* feat(react/svelte): add initialWidth/initialHeight closes #3793

* chore(packages): update changelogs
2024-02-27 15:21:35 +01:00
moklick 19bcfe28a2 fix(getNodesBounds): use absolute position by default, add options param 2024-01-25 17:46:46 +01:00
moklick 009fb42017 refactor(system): revise calcNextPosition 2024-01-24 13:04:44 +01:00
moklick 2e1bfc35c0 chore(onbeforedelete): use correct node/edge types, pass generic 2024-01-23 13:04:02 +01:00
moklick 1bc1ae855d refactor(util-functions): cleanup types so that node/edge types get infered 2024-01-15 17:32:30 +01:00
moklick 93d437edb6 refactor(getNodesBounds): use position instead of positionAbsolute 2024-01-15 12:02:26 +01:00
moklick a75f461a5c refactor(on-before-delete): async 2023-12-23 15:19:32 +01:00
moklick 84147be699 feat(deletion): add onBeforeDelete handler 2023-12-23 11:57:18 +01:00
moklick 97ab615e6a Merge branch 'next' into refactor/tsdoc 2023-12-19 11:59:44 +01:00
moklick 8ceb1addc1 refactor(useSetNodeData): put function in useReactFlow/useSvelteFlow 2023-12-12 18:52:45 +01:00
Peter b264c11c54 Added some more TSDocs for util functions 2023-12-05 13:35:12 +01:00
Peter 4accceb202 Added TSDocs for several public util functions & converted comments to TSDocs for internal functions 2023-12-05 12:12:21 +01:00
moklick 1dfff1bf5b refactor(libs) add width, height and positionAbsolute props to NodeProps 2023-11-23 13:50:28 +01:00
moklick 39b0deb9a4 fix(react): node resizer use new width/height attr 2023-11-21 16:08:13 +01:00
moklick d812dbbe53 refactor(nodes): add computed attr for width/height and absolute position 2023-11-21 15:06:42 +01:00
moklick 4849c90cbd refactor(system): getElementsToRemove returns unique edge items 2023-11-16 13:23:55 +01:00
moklick 90912a6c1a reafactor(react/svelte): rename some util functions #3528 2023-11-13 10:45:06 +01:00
moklick e5acbbcf9d chore(types): cleanup 2023-10-23 17:47:50 +02:00
Peter 6fd9d19797 feat(react, svelte) added getIncomers & getOutgoers to use...Flow() 2023-10-05 13:28:04 +02:00
Peter 1b0790e79f refactor(xyflow) improved performance of getOutgoersBase & getIncomersBase 2023-10-05 13:00:20 +02:00
Peter 18a22e6f4c refactor(xyflow) improved performance of getConnectedEdgesBase 2023-10-05 12:10:35 +02:00
moklick 88104fc15f refactor(node): make expandParent compatible with extent parent 2023-09-26 15:55:21 +02:00
Peter 439916e619 fix(react) fitViewOptions.nodes are now working as intended 2023-09-25 13:46:22 +02:00
Peter ada5b94673 feat(svelte) add fitViewOptions, closes #3440 2023-09-25 12:58:04 +02:00
moklick 9520407cf0 fix(selection): keep node positions when extent is reached closes 2023-08-14 15:54:30 +02:00
moklick 292465410b chore(svelte): use svelte 4 2023-06-26 21:15:23 +02:00
moklick 1eac14129b refactor(nodeExtent): include node width and height 2023-06-26 18:14:06 +02:00
moklick 9dfec49ed5 chore(system): rename BaseNode/BaseEdge types to NodeBase/EdgeBase 2023-06-13 16:54:26 +02:00
moklick 51375cd482 chore(utils): another cleanup 2023-06-12 23:00:22 +02:00
moklick a04fb2021e chore(utils): cleanup 2023-06-12 22:40:33 +02:00
moklick d6b8439f6e feat(utils): add snapPosition function 2023-06-12 22:32:57 +02:00
moklick cefdfd4e70 chore(utils): cleanup 2023-06-12 12:14:57 +02:00
moklick 811f6f008f refactor(utils): cleanup isEdgeVisible and related helpers 2023-06-12 11:59:16 +02:00
moklick 8354759f57 refactor(packages): change package structure 2023-06-05 15:40:18 +02:00