Commit Graph
77 Commits
Author SHA1 Message Date
Christopher Möller 767fbd4377 feat(noderenderer): render child nodes 2021-10-20 16:57:44 +02:00
moklick a0b8aa6fcb Merge branch 'v10' into refactor/nodes-edges-state 2021-10-20 10:52:11 +02:00
moklick 1525af39cf refactor(elements): render only visible elements 2021-10-19 14:57:34 +02:00
moklick 410b12946d refactor(state): separate nodes and edges 2021-10-19 11:09:49 +02:00
Christopher Möller b08809d810 feat(markers): add option to control orientation of markers 2021-10-15 13:07:02 +02:00
Christopher Möller 1b73c8fff5 feat(markers): add more properties for custom markers 2021-10-15 11:51:54 +02:00
Christopher Möller d3b1148bca feat(markers): implement more generic api for markerEnd and markerStart handling 2021-10-14 17:53:50 +02:00
moklick 1f41cc0d9a refactor(zustand): use shallow when needed 2021-10-13 16:19:46 +02:00
moklick ee0d29029a refactor(state): replace redux with zustand 2021-10-13 12:54:01 +02:00
moklick 32ee964044 refactor(elements): split into nodes and edges 2021-10-09 11:33:10 +02:00
moretall eff3e72e4f Fix when it disappears when connecting an edge to update to a new node 2021-09-13 16:50:02 +09:00
moklick 27e2781d8c feat(props): add onEdgeUpdateEnd handler closes #1157 2021-05-29 15:12:31 +02:00
moklick 3232a33e9e feat(edgeUpdate): add onEdgeUpdateStart handler closes #1120 2021-04-30 16:09:46 +02:00
Анна Кузнецова f565676233 onEdgeDoubleClick support 2021-04-13 20:29:39 +05:00
moklick cd1baadf41 feat(edges): add mouse handler closes #987 2021-03-12 20:46:14 +01:00
Eugene Samonenko d89be58e54 feat(edgeUpdater): add edgeUpdaterRadius prop 2021-03-03 13:10:33 +02:00
moklick 0d1d802ed5 feat(edge): add onEdgeContextMenu handler #943 2021-02-26 10:51:25 +01:00
moklick ba5286a105 refactor(elements): split edges and nodes 2021-02-11 18:45:05 +01:00
moklick e9a7ade236 refactor(store): use redux instead of easy-peasy 2021-01-19 13:58:24 +01:00
moklick 7791d1d2c3 refactor(edges): source and target node must be initialized 2021-01-11 17:05:37 +01:00
moklick 14bd7b10c2 fix(edge-renderer): source and target can be the same #809 2020-12-30 18:29:31 +01:00
moklick f64710e164 refactor(connections): allow graphs with nodes that have only source handles 2020-12-24 11:24:54 +01:00
moklick 03d5e63371 refactor(edgeWrapper): memoize onConnectEdge func 2020-11-26 15:55:46 +01:00
moklick 3a5ecfa666 Merge branch 'next' into feat/dragedge 2020-11-26 15:26:48 +01:00
moklick d17562e1a1 refactor(drag-edge): only handle when update function is passed 2020-11-26 15:17:31 +01:00
Christopher Möller 6da79b572a fix(edge renderer): change wording for target handle id 2020-11-16 15:04:34 +01:00
Christopher Möller 142a119027 Merge branch 'chore/improve-edge-warning' of https://github.com/justrhysism/react-flow into justrhysism-chore/improve-edge-warning 2020-11-16 15:02:51 +01:00
Christopher Möller 16abf0595f fix(edges): change xy positions to detect when edge is hidden 2020-11-16 14:51:59 +01:00
Rhys LloydandRhys Lloyd 58c9e60a73 chore(edge): Output edge id with source/target warnings 2020-11-16 14:58:59 +10:30
moklick 2b1366fe46 refactor(edgeRenderer): cleanup 2020-11-15 18:21:32 +01:00
moklick 393defc638 refactor(elements): only render visible handling 2020-11-15 18:05:44 +01:00
moklick b0500bc208 refactor(edges): visible even if source and target are not visible #677 2020-11-15 14:15:35 +01:00
moklick 7d788a1ed7 refactor(edgeRendererUtils): cleanup 2020-11-14 17:26:37 +01:00
moklick 2420cf3689 refactor(onlyRenderVisible): change from nodes to elements #677 2020-11-14 16:46:14 +01:00
moklick 2f40a83b47 refactor(drag-edge): cleanup drag edge handlers 2020-11-05 17:28:21 +01:00
moklick 9dfe7ea8e3 fix(edge-drag): update to new version 2020-11-05 16:26:02 +01:00
Moritz KlackandGitHub 9851281709 Merge branch 'main' into drag-edge 2020-11-03 19:59:18 +01:00
moklick ddd3baa5f7 refactor(handle-handling): cleanup 2020-10-29 12:36:10 +01:00
Naden a3e9cbf9dc Cleanup of jasonpul's connection-validation branch 2020-10-27 14:51:54 +11:00
Long Nguyen bd63a0131a Feature: Draggable edge 2020-10-12 21:34:35 +09:00
moklick 19f936a107 refactor(props): cleanup 2020-10-05 11:06:40 +02:00
jasonpul d9ba18d49c broke out handleId by itself rather than joined with nodeID, modded necessary functions to give handles not assigned IDs an empty string for backwards compadibility. Also modded handles so that only target-source and source-target connections are allowed, and no repeat connections are allowed. 2020-10-01 15:47:37 -04:00
moklick 1f7d88fd5e feat(connectionline): custom component option #516 2020-09-19 13:38:40 +02:00
moklick 0b15211e18 refactor(edges): pass original source and target ids, cleanup #476 2020-09-15 11:17:06 +02:00
moklick ee74c90f15 feat(edges): add labelBgBorderRadius option closes #421 2020-08-12 13:00:54 +02:00
moklick 6bbc152041 feat(edge-options): add labelBgPadding #421 2020-08-11 10:36:22 +02:00
moklick 6d651bdc98 fix(edges): pass className to edge closes #420 2020-08-11 09:57:45 +02:00
moklick 59742c9526 refactor(variables): dont use abbreviations 2020-08-10 12:10:17 +02:00
Nate Amack 97ec24fa14 feat(props): add mouse event to onNodeDragStart, onNodeDragStop, onElementClick, and onPaneClick 2020-08-04 12:05:03 -06:00
moklick c59c8ee693 refactor(edges): simplify selected condition #397 2020-08-04 10:05:15 +02:00