Commit Graph
85 Commits
Author SHA1 Message Date
moklick ccacd43659 feat(selection): add drag handlers closes #444 2020-08-22 17:24:50 +02:00
moklick 5b4b114935 feat(props): add onConnectEnd function #451 2020-08-21 09:40:27 +02:00
moklick ae623be738 refactor(nodes): use opacity for hiding nodes on start 2020-08-20 14:54:23 +02:00
moklick 58b0d88208 refactor(nodes): no jumping nodes on start 2020-08-20 14:54:23 +02:00
moklick ecc4ae8b07 refactor(wrapNode): check if dom node exists when updating dimensions #434 2020-08-19 18:58:25 +02:00
Nate Amack 34473166cb feat(onElementClick): always allow onElementClick to run 2020-08-18 10:59:22 -06:00
moklick 07e597fbb1 refactor(edges): pass data in onClick handler closes #430 2020-08-13 09:28:02 +02:00
moklick ee74c90f15 feat(edges): add labelBgBorderRadius option closes #421 2020-08-12 13:00:54 +02:00
moklick e4233aa9b3 fix(nodes): fire click event when node is selectable closes #424 2020-08-11 19:18:48 +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 ccf03eb604 feat(lib): export edge utils #418 2020-08-10 23:39:25 +02:00
moklick e5f664f766 refactor(connection): fire onConnect after onConnectStop closes #405 2020-08-10 12:11:19 +02:00
moklick 59742c9526 refactor(variables): dont use abbreviations 2020-08-10 12:10:17 +02:00
Nate Amack fddb3e777d feat(props): add mouse event to onConnectStart and onConnectStop 2020-08-04 12:22:38 -06:00
Nate Amack 97ec24fa14 feat(props): add mouse event to onNodeDragStart, onNodeDragStop, onElementClick, and onPaneClick 2020-08-04 12:05:03 -06:00
moklick 6cb3c707bf refactor(store): rename/cleanup setNodesSection action 2020-08-04 00:42:54 +02:00
moklick 5f91498d19 feat(connection): add start and stop props closes #380 2020-08-01 12:54:14 +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 8a16727cf8 refactor(edge-types-example): cleanup 2020-07-21 16:48:23 +02:00
moklick 8cf5b3f137 refactor(stepedge): use smooth step edge with border radius=0 2020-07-21 16:47:57 +02:00
moklick 70121edcd8 feat(smoothstepedge): add border radius param 2020-07-21 16:47:35 +02:00
moklick c659c094dd refactor(wrapNode): one pass id and type to select action 2020-07-15 18:32:45 +02:00
moklick 989aaf8510 refactor(wrapNode): one pass id and type to select action 2020-07-15 18:30:54 +02:00
moklick dad5d8e928 fix(node): add click handler when draggable is false #271 2020-07-15 16:55:35 +02:00
moklick 041a0f9264 refactor(wrapNode): remove log 2020-07-15 11:49:04 +02:00
moklick b51a25191f feat(elements): add isHidden option 2020-07-15 10:31:16 +02:00
moklick 084030dbb2 refactor(smoothstepedge): simplify conditions 2020-07-14 15:00:43 +02:00
moklick cbc98df74a fix(smoothstepedge): draw straight line when source and target have same x positions 2020-07-14 14:57:56 +02:00
moklick 0593db289a feat(edges): add arrow head options 2020-07-14 12:57:12 +02:00
moklick 1b3f58486a refactor(classnames): use faster classcat alternative 2020-07-14 10:11:26 +02:00
moklick dec1f973cb refactor(edges): create index for all edge types 2020-07-14 09:54:39 +02:00
moklick 152acbe70a feat(connectionline): add step and smoothstep types 2020-07-13 18:02:59 +02:00
moklick 1d8a9d6d87 feat(graph): more adjustable interaction closes #329, closes #291 2020-07-13 17:36:15 +02:00
moklick 32f6101d37 feat(nodes): add enter, move, leave and context handler #301 2020-07-13 16:04:49 +02:00
moklick b32d5454e1 feat(edges): add smooth step type 2020-07-13 15:24:14 +02:00
moklick 6b8e7bfbc3 refactor(nodes): wrap with memo, update transform without creatin new array #282 2020-06-05 12:55:11 +02:00
moklick 33d2770b23 fix(userselection): dont render user selection when its not active 2020-06-05 12:37:54 +02:00
moklick 4ae4f2e213 fix(userselection): handle shift key + mouse up handling 2020-06-05 01:04:40 +02:00
moklick 5a3adab3a0 refactor(internals): rename __rg to __rf 2020-06-05 00:17:28 +02:00
moklick 407e34b1cb refactor(controls): dont import store but use actions 2020-06-04 23:46:37 +02:00
moklick 5cbeda5c3f feat(components): add ReactFlowProvider #275 2020-06-02 18:34:02 +02:00
moklick 2d4a64d341 refactor(handle): use weaker selectors so its easier to overwrite 2020-06-02 10:23:14 +02:00
moklick ce32d34c6b fix(connectionline): draw line from handle where user starts closes #270 2020-06-01 23:14:14 +02:00
moklick 0558ff86c4 fix(bezieredge): correctly connect diagonally nodes closes #256 2020-05-30 20:26:55 +02:00
moklick c620d0f40c refactor(connectionLine): create connection line type enum 2020-05-29 18:53:23 +02:00
MoritzandGitHub 714c916121 refactor(styling): use css for default styles (#259)
* refactor(minimap): use css for default styles

* refactor(controls): use css for default styles

* refactor(background): use css for default styles

* refactor(edges): add edge type class name

* refactor(nodes): use css for default styles

* refactor(outputnode): add display name

* refactor(wrapnode): cleanup

* refactor(rollup): minimize css for prod build

* refactor(additional-comps): extract css

* test(graphs): adjust for new markup
2020-05-29 18:33:29 +02:00
moklick f2313916b6 feat(handle): add class name prop type 2020-05-29 16:50:59 +02:00
moklick 11a3605c1b refactor(connectionline): handle horizontal flows correctly closes #253 2020-05-28 11:30:05 +02:00