moklick
ee439857f0
refactor(zoomPanHelper): always return functions, add initialized flag #678
2020-11-11 10:25:56 +01:00
moklick
ae6ce3cd05
feat(panOnScroll): add mode options free, vertical and horizontal
2020-11-10 17:56:19 +01:00
moklick
5e28762f53
refactor(nodes): don't re-render on pan #677
2020-11-10 17:06:18 +01:00
moklick
959216f6fc
refactor(keycodes): allow strings and numbers as key codes
2020-11-10 14:27:15 +01:00
moklick
7cc2306975
feat(reactflowInstance): add toObject function closes #603
2020-11-09 18:17:36 +01:00
moklick
7e55f8c07f
fix(nodes): always drag draggable node even if not selected
2020-11-05 14:36:26 +01:00
moklick
0774d35846
feat(nodes): multi drag
2020-11-05 14:32:10 +01:00
Rhys Lloyd
20c7f1622c
Resolve #661
...
Forward positional data to Node Component.
2020-11-05 09:14:45 +10:30
moklick
ddd3baa5f7
refactor(handle-handling): cleanup
2020-10-29 12:36:10 +01:00
Naden
a3e9cbf9dc
Cleanup of jasonpul's connection-validation branch
2020-10-27 14:51:54 +11:00
moklick
f99d0170ea
refactor(nodes): pass isDragging prop closes #624
2020-10-22 17:20:56 +02:00
moklick
48053133e5
refactor(defaultProps): dont set defaults in main entry point
2020-10-02 14:34:51 +02:00
jasonpul
d9ba18d49c
broke out handleId by itself rather than joined with nodeID, modded necessary functions to give handles not assigned IDs an empty string for backwards compadibility. Also modded handles so that only target-source and source-target connections are allowed, and no repeat connections are allowed.
2020-10-01 15:47:37 -04:00
jasonpul
bee2ca5c0c
initial working mod with nodeId and handleId split up in Connection type so that target-target and source-source connections cannot be made
2020-10-01 12:48:56 -04:00
moklick
1f7d88fd5e
feat(connectionline): custom component option #516
2020-09-19 13:38:40 +02:00
moklick
0b15211e18
refactor(edges): pass original source and target ids, cleanup #476
2020-09-15 11:17:06 +02:00
moklick
8a0a928e17
refactor(nodes): always render nodes that are dragged closes #477
2020-09-11 17:12:09 +02:00
moklick
d17e6ebaea
refactor(wrapNode): simplify dragging behaviour
2020-09-11 16:36:23 +02:00
moklick
fe3dd87d24
fix(selection): handle snap grid correctly
2020-09-11 01:39:40 +02:00
moklick
5c2c1eecad
feat(paneview): add translateExtent option closes #479
2020-09-10 18:39:40 +02:00
moklick
5b4b114935
feat(props): add onConnectEnd function #451
2020-08-21 09:40:27 +02:00
moklick
58b0d88208
refactor(nodes): no jumping nodes on start
2020-08-20 14:54:23 +02:00
moklick
23660b5903
feat(reactflowInstance): add zoomTo function closes #433
2020-08-19 19:12:28 +02:00
Nate Amack
27c8ac02dc
fix(types): add id to EdgeProps
2020-08-18 15:21:54 -06:00
moklick
ee74c90f15
feat(edges): add labelBgBorderRadius option closes #421
2020-08-12 13:00:54 +02:00
moklick
6bbc152041
feat(edge-options): add labelBgPadding #421
2020-08-11 10:36:22 +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
56dc40b7cc
refactor(types): export onLoadParams #391
2020-08-03 14:38:06 +02:00
moklick
5f91498d19
feat(connection): add start and stop props closes #380
2020-08-01 12:54:14 +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
2fee4c35ae
feat(onLoad): add setTransform function #358
2020-07-25 13:38:55 +02:00
moklick
b77977997b
feat(props): add onMoveStart and onMoveEnd #358
2020-07-24 17:39:35 +02:00
moklick
48bde20ded
feat(node): add draggable, connectable and selectable options
2020-07-22 11:27:11 +02:00
moklick
70121edcd8
feat(smoothstepedge): add border radius param
2020-07-21 16:47:35 +02:00
moklick
b51a25191f
feat(elements): add isHidden option
2020-07-15 10:31:16 +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
Andy
f065c65099
fitView argument is optional
2020-06-19 01:14:15 +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
3f3a79b5f6
feat(rfInstance): add getElements function #274
2020-06-02 16:06:08 +02:00
moklick
ce32d34c6b
fix(connectionline): draw line from handle where user starts closes #270
2020-06-01 23:14:14 +02:00
moklick
c620d0f40c
refactor(connectionLine): create connection line type enum
2020-05-29 18:53:23 +02:00
Moritz and GitHub
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