Commit Graph

276 Commits

Author SHA1 Message Date
moklick
915bc72974 fix(onLoad): only call once closes #393 2020-08-03 17:12:04 +02:00
moklick
56dc40b7cc refactor(types): export onLoadParams #391 2020-08-03 14:38:06 +02:00
moklick
e0a2ceeab0 refacor(graphview): cleanup 2020-08-02 18:55:15 +02: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
f4d1af6589 refactor(noderenderer): add viewportBox to store 2020-07-29 10:48:16 +02:00
moklick
16707eaa99 fix(onlyRenderVisibleNodes): only render nodes that are inside the viewport 2020-07-29 10:40:15 +02:00
Moritz
7c920d0a86 Merge branch 'master' into develop 2020-07-28 09:41:07 +02:00
Andy
7bfa18f506 Bugfix: Update onConnect
Will call setOnConnect if function passed as onConnect changes
2020-07-28 00:48:13 +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
a436260a1c refactor(controls): use memo 2020-07-27 12:36:03 +02:00
moklick
8d0e8c63fb refactor(minimap): use memo 2020-07-27 12:35:40 +02:00
moklick
cdfc311942 refactor(background): use background position for positioning dots and lines #356 2020-07-26 17:12:50 +02:00
moklick
0d2bdf7ce8 refactor(background): use repeating inline svg as bg pattern #356 2020-07-25 15:06:58 +02:00
moklick
3da7efae35 refactor(elementUpdater): dont create additional nodes object 2020-07-25 14:04:08 +02:00
moklick
2fee4c35ae feat(onLoad): add setTransform function #358 2020-07-25 13:38:55 +02:00
moklick
8c565e4a27 feat(props): add defaultPosition prop #358 2020-07-24 17:54:12 +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
48bde20ded feat(node): add draggable, connectable and selectable options 2020-07-22 11:27:11 +02:00
moklick
abb5770edd refactor(redux): dont use devTools in production build closes #354 2020-07-22 09:47:01 +02:00
moklick
7f1b18bebb fix(addEdge): handle multiple source/target id 2020-07-21 17:08:09 +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
4934cec6c9 style(flow): adjust default styles 2020-07-21 15:52:17 +02:00
moklick
69c41b9b91 test(graph-utils): add tests 2020-07-21 13:49:37 +02:00
moklick
c927929b2c refactor(utils): set return type of getOutgoers to node[] 2020-07-21 10:47:39 +02:00
moklick
3c99d7303d fix(zoom): set internal d3 zoom property programmatically closes #347 2020-07-20 10:40:17 +02:00
moklick
42f6336171 feat(interaction): add zoomOnDoublickClick and fix behaviour closes #338 2020-07-17 11:04:32 +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
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
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
Andy
f065c65099 fitView argument is optional 2020-06-19 01:14:15 +02:00