Commit Graph

62 Commits

Author SHA1 Message Date
moklick
59cd72ddef refactor(parsedata): destruct data 2019-08-06 16:41:58 +02:00
moklick
fbbd0a93ba refactor(minimap): show partial nodes 2019-08-06 11:36:53 +02:00
moklick
cac51acc26 feat(edges): step edge 2019-08-06 11:21:03 +02:00
moklick
24a296fef9 feat(minimap): node color func 2019-08-05 18:04:37 +02:00
moklick
34a0df46f9 feat(minimap): add scaling 2019-08-05 17:29:26 +02:00
moklick
1d81205d4f fix(nodes): no remove when in input 2019-08-05 17:12:09 +02:00
moklick
f90f3c26cd feat(plugins): add minimap 2019-08-05 16:43:14 +02:00
moklick
6aa8f9cc6a refactor(nodewrap): dont pass all props 2019-08-05 15:19:45 +02:00
moklick
b24d7b6704 refactor(graphcontext): memoize context 2019-08-05 14:41:38 +02:00
moklick
8691edd3f4 refactor(connectionContext): memoize context 2019-08-05 14:31:35 +02:00
moklick
e148e27893 refactor(renderer): dont rerender nodes when selcting element 2019-08-05 14:19:49 +02:00
moklick
bcf5ea2ccd refactor(actions): split up 2019-08-05 13:22:59 +02:00
moklick
9edf30b71c fix(nodewrapper): dont fire onDragStop on click 2019-08-05 12:38:25 +02:00
moklick
7fc2acf0fb refactor(contexts): create connection context 2019-08-01 16:05:10 +02:00
moklick
c6c65669e9 refactor(wdr): no logs 2019-08-01 15:08:13 +02:00
moklick
6b81436316 refactor(selection): only set new one if selection updated 2019-08-01 13:28:22 +02:00
moklick
22938baa93 chore(build): update 2019-08-01 13:19:01 +02:00
moklick
b0cf101a7f refactor(edges): no re render on data change 2019-08-01 10:34:20 +02:00
moklick
f9bf2368c7 refactor(edges): use internal id 2019-07-31 18:05:37 +02:00
moklick
e348cccc76 refactor(elements): simplfy node and edge handling 2019-07-31 18:01:15 +02:00
moklick
3403203adb refactor(nodes): only re render changed nodes 2019-07-31 17:24:23 +02:00
moklick
6e71591cb8 refactor(edges): only redraw moved edges 2019-07-31 16:29:04 +02:00
moklick
a0646a31f2 refactor(nodeWrap): outsource event handler 2019-07-31 13:38:32 +02:00
moklick
9d7e7e6363 feat(connection): target -> source 2019-07-31 11:52:26 +02:00
moklick
191bc11253 fix(connectionLine): add container bounds 2019-07-31 11:48:16 +02:00
moklick
2d5e2d9241 feat(renderer): add connection line 2019-07-31 11:32:56 +02:00
moklick
915cba94a7 refactor(index): cleanup exports 2019-07-30 22:33:54 +02:00
moklick
6a1ccced8a refactor(connections): cleanup 2019-07-30 22:28:22 +02:00
moklick
9d17245cca feat(nodeWrap): add onNodeDragStop callback 2019-07-30 14:09:38 +02:00
moklick
819a822340 Merge branch 'master' of github.com:wbkd/react-graph 2019-07-29 22:11:58 +02:00
moklick
a681bab94e feat(edges): calc y handle pos 2019-07-29 19:06:38 +02:00
moklick
06a7bad23a fix(handle): pass className 2019-07-29 18:41:52 +02:00
moklick
bdcb9b9fc2 chore(build): update 2019-07-29 18:34:55 +02:00
moklick
a6d191355a feat(fitView): add padding option 2019-07-26 00:57:03 +02:00
moklick
bb17c2fcb6 feat(rg): removeElements helper 2019-07-25 18:27:41 +02:00
moklick
295b76bb2f refactor(node): pass if selected 2019-07-25 18:02:41 +02:00
moklick
6dc9e5f79f feat(rg): add zoom functions 2019-07-25 17:39:07 +02:00
moklick
7de43f7843 refactor(nodes,edges): data structure 2019-07-25 16:33:19 +02:00
moklick
064f7d9c75 feat(edges): animated prop 2019-07-25 16:03:50 +02:00
moklick
d094f5f312 feat(edges): add Bezier Edge 2019-07-25 15:46:45 +02:00
moklick
3ecd00d027 refactor(wrapNode): cleanup component 2019-07-25 13:57:01 +02:00
moklick
71c357ddfc fix(css): inject 2019-07-25 11:40:39 +02:00
moklick
dbb178b222 refactor(edges): dont add width and height params 2019-07-25 00:27:00 +02:00
moklick
e496cbe795 feat(rollup): extract css 2019-07-25 00:17:21 +02:00
moklick
f7a7ea2b22 feat(postcss): add nested plugin 2019-07-25 00:10:56 +02:00
moklick
9fe6cff644 refactor(nodes): also select edges when only one node is selected 2019-07-25 00:00:39 +02:00
moklick
5fc84bf12c refactor(selection): remove selection on node click 2019-07-24 16:56:46 +02:00
moklick
4be80dd985 feat(keyhandler): add onNodeRemove callback 2019-07-24 16:44:26 +02:00
moklick
ac8ac49d1d feat(nodesselection): zoom- and scalable nodes selection 2019-07-24 11:37:40 +02:00
moklick
1ba6e7b26b chore(build): update 2019-07-24 11:02:52 +02:00