hiyangguo
a07f3dc528
fix: fixed an issue where Handle component onMouseDown event could not be bind
2022-05-13 19:54:26 +08:00
moklick
6630935d9e
refactor(nodeTypes/edgeTypes): show warning when not memoized closes #1620
2022-02-22 18:33:59 +01:00
Christopher Möller
af52bab2a5
refactor(fitView): use same fitView function for viewport helper and initial prop
2022-01-27 13:00:03 +01:00
moklick
88582a86cc
refactor(general): fit view in store to prevent flickering, rename onLoad => onPaneReady
2021-12-09 07:24:45 +01:00
moklick
2e83af4638
Merge branch 'main' into v10
2021-12-04 01:01:25 +01:00
moklick
a032306408
feat(hooks): add useNodesState and useEdgesState
2021-11-26 14:39:22 +01:00
moklick
713e7e1bd4
refactor(examples): on connect use connection type
2021-11-26 13:58:30 +01:00
moklick
65991de037
chore(examples): add layouting with new api
2021-11-02 12:52:24 +01:00
Clément Loridan
a09c35921a
merge(connectionLine): wbkd/react-flow:main
2021-10-21 14:05:34 +03:00
moklick
1525af39cf
refactor(elements): render only visible elements
2021-10-19 14:57:34 +02:00
moklick
e01249a87c
refactor(examples): hide old api examples
2021-10-09 16:49:41 +02:00
Clément Loridan
ae4bce1295
fix(connectionLine): sourceHandle with connectionMode = loose
2021-09-22 18:07:24 +02:00
moklick
08bbfc7616
chore(examples): custom node pass isConnectable
2021-07-20 12:23:00 +02:00
moklick
20309d4e38
refactor(examples): use cra + ts
2021-02-23 18:39:17 +01:00
moklick
ddd3baa5f7
refactor(handle-handling): cleanup
2020-10-29 12:36:10 +01: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
moklick
284968ad54
style(flow): new default styles
2020-09-30 18:07:40 +02:00
moklick
59742c9526
refactor(variables): dont use abbreviations
2020-08-10 12:10:17 +02:00
Nate Amack
97ec24fa14
feat(props): add mouse event to onNodeDragStart, onNodeDragStop, onElementClick, and onPaneClick
2020-08-04 12:05:03 -06:00
moklick
cbc41f244e
refactor(examples): cleanup
2020-07-27 12:36:47 +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
6f87d848d7
chore(tests): wording graph => flow
2020-07-15 10:34:52 +02:00
moklick
152acbe70a
feat(connectionline): add step and smoothstep types
2020-07-13 18:02:59 +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
d95fc1279a
docs(readme): add react flow instance section
2020-06-02 12:26:12 +02:00
moklick
35d0a462e8
style(example): add padding for custom node
2020-05-30 20:56:26 +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
7324c79fd0
refactor(background): export background as component closes #235
2020-05-25 15:53:56 +02:00
moklick
0b7354610e
refactor(examples): rename graph to flow
2020-05-14 10:57:08 +02:00
moklick
401c572d10
refactor(examples): rename Graph to ReactFlow
2020-05-11 13:54:06 +02:00
moklick
38b4ea2428
chore(lib): rename
2020-05-04 17:26:48 +02:00
moklick
1627bba220
feat(examples): add source link
2020-05-04 16:51:17 +02:00
moklick
5030f7dc1b
feat(node): handle nodrag class
2019-10-24 14:48:35 +02:00
moklick
6a4c43df4b
refactor(examples): update custom node example, create rich example
2019-10-23 20:38:36 +02:00