Commit Graph

83 Commits

Author SHA1 Message Date
moklick
ec7231e42d refactor(nodeRenderer): dont use Context in nodes 2019-07-31 16:00:46 +02:00
moklick
a0646a31f2 refactor(nodeWrap): outsource event handler 2019-07-31 13:38:32 +02:00
moklick
aa7e209d02 feat(storybook): add simple story 2019-07-31 13:10:27 +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
84a17dd01d fix(connection): always scale handle dimensions 2019-07-30 18:22:33 +02:00
moklick
9d17245cca feat(nodeWrap): add onNodeDragStop callback 2019-07-30 14:09:38 +02:00
moklick
18baa3d4e3 fix(nodeWrap): isHandle func 2019-07-30 13:39:42 +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
939a1d5223 refactor(onConnect): rename sourceId to source 2019-07-29 18:29:51 +02:00
moklick
8fb45f4894 feat(rg): add onConnect callback 2019-07-29 18:18:27 +02:00
moklick
cc14c724d0 refactor(example): push build 2019-07-29 11:15:24 +02:00
moklick
71afccbaf3 feat(utils): getOutgoers function 2019-07-26 01:17:12 +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
d587b1340d feat(example): remove handler 2019-07-25 18:22:32 +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
97971de1a5 style(nodes): default styles 2019-07-25 17:11:34 +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
bfeefd51b2 refactor(app): use memo fpr comps 2019-07-25 15:16:59 +02:00
moklick
3ecd00d027 refactor(wrapNode): cleanup component 2019-07-25 13:57:01 +02:00
moklick
562eddfa58 feat(selection): draggable 2019-07-25 13:49:02 +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
81746b2714 refactor(api): use all elements instead of nodes only 2019-07-24 23:44:48 +02:00
moklick
9d44f26c68 feat(edges): allow different types 2019-07-24 23:25:14 +02:00
moklick
6312f6bd1e feat(edges): click handler 2019-07-24 17:47:09 +02:00
moklick
d3929c19a6 refactor(selection): mouse handling 2019-07-24 17:12:44 +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
7b32ee660c feat(nodesselection): hide on click 2019-07-24 15:43:18 +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
moklick
9baf1d5b7c refactor(selection): rename to userSelection 2019-07-24 11:02:25 +02:00
moklick
d4507855a4 feat(selection): add container bounds 2019-07-24 10:57:31 +02:00
moklick
31c1f562fb refactor(nodes): no fix width for wrapper node 2019-07-24 10:32:03 +02:00
moklick
4ab04a4379 feat(selection): selected nodes rect 2019-07-18 11:14:11 +02:00
moklick
3cf627668b feat(selection): fixed selection 2019-07-18 00:29:56 +02:00