Commit Graph
58 Commits
Author SHA1 Message Date
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
moklick cfaa07dc6b fix(edges): selected condition closes #397 2020-08-04 10:03:44 +02:00
moklick e0a2ceeab0 refacor(graphview): cleanup 2020-08-02 18:55:15 +02:00
moklick 30e811225a refactor(components): show displayName in react profiler correctly 2020-07-27 18:50:53 +02:00
moklick b3391860da feat(edges): add data and classname props, unify node/edge handling closes #357 2020-07-27 12:40:39 +02:00
moklick b51a25191f feat(elements): add isHidden option 2020-07-15 10:31:16 +02:00
moklick 0593db289a feat(edges): add arrow head options 2020-07-14 12:57:12 +02:00
moklick dec1f973cb refactor(edges): create index for all edge types 2020-07-14 09:54:39 +02:00
moklick 1d8a9d6d87 feat(graph): more adjustable interaction closes #329, closes #291 2020-07-13 17:36:15 +02:00
moklick b32d5454e1 feat(edges): add smooth step type 2020-07-13 15:24:14 +02:00
moklick 5a3adab3a0 refactor(internals): rename __rg to __rf 2020-06-05 00:17:28 +02:00
moklick ce32d34c6b fix(connectionline): draw line from handle where user starts closes #270 2020-06-01 23:14:14 +02:00
moklick c620d0f40c refactor(connectionLine): create connection line type enum 2020-05-29 18:53:23 +02:00
moklick 56cfc8d731 refactor(easy-peasy): return single values from useStoreState 2020-05-25 17:12:11 +02:00
moklick f154f59e74 feat(wrapper): add onSelectionChange handler 2020-05-25 14:00:46 +02:00
moklick 1e447a204c refactor(types): use types for prop type functions 2020-05-15 21:53:13 +02:00
moklick f30999ea7a fix(edges): add step edge to standard types 2020-05-11 22:50:43 +02:00
moklick 7a2bff2502 fix(connectionline): set stroke color 2020-05-11 17:49:07 +02:00
moklick 0c30eebb94 feat(edges): add label props 2020-05-11 12:18:36 +02:00
MoritzandGitHub 873fb50b19 Graph Prop: isInteractive (#56)
* feat(props): add isInteractive

* refactor(selection): dont allow if not interactive

* feat(renderer): add class if is interactive

* chore(inactive): add tests

* refactor(inactive): no connection line, no edge selection

closes #49
2019-10-23 18:42:17 +02:00