Commit Graph

165 Commits

Author SHA1 Message Date
Nate Amack
97ec24fa14 feat(props): add mouse event to onNodeDragStart, onNodeDragStop, onElementClick, and onPaneClick 2020-08-04 12:05:03 -06:00
moklick
f6f3202b57 refactor(graphview): put resize handling in its own hook 2020-08-02 18:34:03 +02:00
moklick
5f91498d19 feat(connection): add start and stop props closes #380 2020-08-01 12:54:14 +02:00
moklick
a095715e5f refactor(paneClick): rename onZoomPaneClick tp onPaneClick 2020-08-01 12:13:51 +02:00
Nate Amack
2a0274b9a3 feat(props): add onZoomPaneClick 2020-07-31 10:45:40 -06:00
moklick
f84eff1a8c feat(interaction): add paneMoveable prop #377 2020-07-30 11:10:41 +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
cbc41f244e refactor(examples): cleanup 2020-07-27 12:36:47 +02:00
moklick
cdfc311942 refactor(background): use background position for positioning dots and lines #356 2020-07-26 17:12:50 +02:00
moklick
b77977997b feat(props): add onMoveStart and onMoveEnd #358 2020-07-24 17:39:35 +02:00
moklick
d73105df61 style(nodes): default styles 2020-07-23 23:33:42 +02:00
moklick
0dd41cf657 style(examples): use roboto font 2020-07-21 17:56:14 +02:00
moklick
d5035dfa69 style(examples): nav bar 2020-07-21 17:32:41 +02:00
moklick
314b9a361e style(example): custom node connection line 2020-07-21 17:09:22 +02:00
moklick
8a16727cf8 refactor(edge-types-example): cleanup 2020-07-21 16:48:23 +02:00
moklick
d40c74e54c chore(examples): add edge types example 2020-07-21 16:33:38 +02:00
moklick
4934cec6c9 style(flow): adjust default styles 2020-07-21 15:52:17 +02:00
moklick
d642d66574 test(interaction): add tests 2020-07-21 12:50:53 +02:00
moklick
289dad0cef chore(examples): use helper function in overview 2020-07-21 10:48:01 +02:00
moklick
42f6336171 feat(interaction): add zoomOnDoublickClick and fix behaviour closes #338 2020-07-17 11:04:32 +02:00
moklick
dad5d8e928 fix(node): add click handler when draggable is false #271 2020-07-15 16:55:35 +02:00
moklick
d0a306a785 docs(readme): new domain 2020-07-15 14:09:02 +02:00
moklick
6f87d848d7 chore(tests): wording graph => flow 2020-07-15 10:34:52 +02:00
moklick
b51a25191f feat(elements): add isHidden option 2020-07-15 10:31:16 +02:00
moklick
65764fbefb feat(interaction): add zoomOnScroll property closes #331 2020-07-14 13:28:59 +02:00
moklick
0593db289a feat(edges): add arrow head options 2020-07-14 12:57:12 +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
f18e8f147f refactor(example): dont use inline functions for handle props #282 2020-06-05 13:01:07 +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
c2fad7e680 refactor(useD3hook): init d3 inside store 2020-06-05 01:04:56 +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
e0ea040c1b feat(example): add sidebar to provider example 2020-06-03 21:35:19 +02:00
moklick
5cbeda5c3f feat(components): add ReactFlowProvider #275 2020-06-02 18:34:02 +02:00
moklick
3f3a79b5f6 feat(rfInstance): add getElements function #274 2020-06-02 16:06:08 +02:00
moklick
02bcd1be11 feat(options): add minZoom, maxZoom, defaultZoom closes #273 2020-06-02 14:22:29 +02:00
moklick
d95fc1279a docs(readme): add react flow instance section 2020-06-02 12:26:12 +02:00
moklick
2d4a64d341 refactor(handle): use weaker selectors so its easier to overwrite 2020-06-02 10:23:14 +02:00
moklick
eae485704b fix(validation-example): add custom nodes with validation 2020-06-02 00:41:10 +02:00
moklick
206cd1ded1 feat(examples): add validation example 2020-06-02 00:13:06 +02:00
moklick
384769f4f7 style(nodes): put styles into specific node type classes 2020-05-30 21:19:08 +02:00
moklick
35d0a462e8 style(example): add padding for custom node 2020-05-30 20:56:26 +02:00
moklick
0558ff86c4 fix(bezieredge): correctly connect diagonally nodes closes #256 2020-05-30 20:26:55 +02:00
Moritz
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
a555df0458 feat(nodes): add class name option closes #254 2020-05-28 11:22:51 +02:00
moklick
02b4dc82df feat(nodes): add selectNodesOnDrag prop type 2020-05-25 18:13:12 +02:00
moklick
7324c79fd0 refactor(background): export background as component closes #235 2020-05-25 15:53:56 +02:00