Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from xyflow:main #9

Open
wants to merge 1,076 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1076 commits
Select commit Hold shift + click to select a range
4a96118
chore(changelog): update
moklick Mar 14, 2024
24a6339
chore(packages): bump
moklick Mar 16, 2024
815a38e
Merge pull request #4028 from xyflow/next
moklick Mar 16, 2024
e470e4e
React Flow: opening context menu now correctly resets keypresses
peterkogo Mar 18, 2024
84ef65e
Svelte Flow: bluring window and opening context menu now releases all…
peterkogo Mar 18, 2024
35a4356
Svelte Flow: possible to add multiple keys
peterkogo Mar 18, 2024
fe77b63
simplified KeyHandler
peterkogo Mar 19, 2024
543b85c
fixed double tapping on touch devices circumvents zoomOnDoubleClick
peterkogo Mar 19, 2024
3acf2e7
type
peterkogo Mar 19, 2024
15f88a9
export isValidConnection in Svelte Flow
peterkogo Mar 19, 2024
64da14a
chore(readme): use correct package name
moklick Mar 19, 2024
56c8e8e
chore(readme): update README
eltociear Mar 20, 2024
8b200b4
Merge pull request #4050 from eltociear/patch-1
moklick Mar 21, 2024
d775012
Merge branch 'main' into next
moklick Mar 21, 2024
ed6f431
feat(react): add devtools example
moklick Mar 21, 2024
eedff63
feat(devtools): add change logger
moklick Mar 23, 2024
844d574
refactor(react): separate user nodes and indernal nodes
moklick Mar 27, 2024
79dbdc2
chore(react/devtools): cleanup
moklick Mar 27, 2024
67d9799
refactor(react): handle parent expand in store instead of applyChanges
moklick Mar 28, 2024
e409939
refactor(node/internals): cleanup
moklick Apr 2, 2024
a1fd1ae
hidden nodes dont crash application on unmount anymore, hidden elemen…
peterkogo Apr 3, 2024
0d76bcf
make possible to change edge types
peterkogo Apr 3, 2024
6753c19
fix(parentExpand): prevent jumping
moklick Apr 3, 2024
3a4ddc2
chore(svelte): formatted and lint errors fixed
peterkogo Apr 3, 2024
b302cb5
style(devtools): put styles in css file
moklick Apr 3, 2024
f45f506
refactor(react/internal-nodes): cleanup
moklick Apr 3, 2024
ea18e46
refactor(nodes): rename computed to measured, add helpers
moklick Apr 3, 2024
48ad9d3
feat(react): add internal node helper
moklick Apr 3, 2024
6be48fb
refactor(svelte-nodewrapper): simplify observe
moklick Apr 3, 2024
56faf3e
Merge pull request #4035 from xyflow/fix-context-menu-key-up
moklick Apr 3, 2024
221d207
Merge branch 'next' into svelte-multiple-key-handler
moklick Apr 3, 2024
6857b90
make node types also dynamic
peterkogo Apr 3, 2024
ffb5c85
chore(svelte-example): add multi key
moklick Apr 3, 2024
ec78869
refactor(svelte): reset selection on context menu
moklick Apr 3, 2024
3c2906f
Merge pull request #4037 from xyflow/svelte-multiple-key-handler
moklick Apr 3, 2024
989bbf2
Merge pull request #4100 from xyflow/svelte-unobserve-fix
moklick Apr 3, 2024
60bb72d
Merge branch 'next' into svelte-edge-type-change
moklick Apr 3, 2024
5043e77
fix(svelte): merge conflict
moklick Apr 3, 2024
56477f0
Merge pull request #4103 from xyflow/svelte-edge-type-change
moklick Apr 3, 2024
508efab
feat(controls): add orientation, style and class props closes #4069
moklick Apr 4, 2024
51c1cc0
Merge pull request #4106 from xyflow/next
moklick Apr 4, 2024
31da2af
chore(packages): bump
moklick Apr 4, 2024
e40386b
Merge branch 'next'
moklick Apr 4, 2024
a723b56
Merge pull request #4040 from xyflow/d3-zoom-ios
moklick Apr 4, 2024
4570b24
chore(react/store): cleanup
moklick Apr 8, 2024
3e59ab9
refactor(nodes): rename parentNode to parentId
moklick Apr 9, 2024
fd2436c
Merge pull request #4105 from xyflow/refactor/internal-nodes
moklick Apr 9, 2024
47319ec
chore(versions): bump
moklick Apr 9, 2024
2d1d471
fixed errors but still WIP
peterkogo Apr 10, 2024
91a642b
fixed some more stuff
peterkogo Apr 10, 2024
3a8b947
fixed wrong initial set on store
peterkogo Apr 10, 2024
dd2bb65
removed console.log
peterkogo Apr 10, 2024
db05c3f
updated prettierignore and removed unused variable
peterkogo Apr 10, 2024
e7e1a37
Merge pull request #4131 from xyflow/feat/react-devtools
moklick Apr 10, 2024
835dec2
resolved some requested changes
peterkogo Apr 10, 2024
8491883
fix(react): update node dimensions when handle bounds undefined
moklick Apr 10, 2024
961b5a9
chore(examples): make dev tools example reusable
moklick Apr 10, 2024
1af82d7
chore(react): update changelog
moklick Apr 10, 2024
d545774
chore(examples): use new api
moklick Apr 10, 2024
844f012
fix(react): export node change types
moklick Apr 10, 2024
d50377e
Merge pull request #4129 from xyflow/refactor/svelte-internal
moklick Apr 10, 2024
4cd099f
fix(zooming): allow pinch zoom when preventScrolling=false
moklick Apr 11, 2024
63aa0dd
fix(viewport): set direction=ltr for react flow wrapper
moklick Apr 11, 2024
4fa3a87
refactor(updates): only trigger dim updates when dim changed
moklick Apr 11, 2024
1c74eb1
removed usage of movementX and movementY and calculate delta by hand
peterkogo Apr 11, 2024
6edd512
renamed now to current
peterkogo Apr 11, 2024
7d24127
added isValidConnection on Handle component
peterkogo Apr 11, 2024
e25c330
removed console.log
peterkogo Apr 11, 2024
46a8b95
Merge pull request #4142 from xyflow/refactor/internal-node-updates
moklick Apr 11, 2024
8897c2a
chore(packages): bump
moklick Apr 11, 2024
3f4cd6d
Merge pull request #4141 from xyflow/next
moklick Apr 11, 2024
72d775b
simplified resize events
peterkogo Apr 11, 2024
256fad3
removed consolelog
peterkogo Apr 11, 2024
05ac4ef
Merge branch 'next' into internal-fix-resizer
peterkogo Apr 11, 2024
979fe7d
broken parent expand on resize but almost there
peterkogo Apr 11, 2024
8a56311
fix(intersection-helpers): use correct positions closes #4138
moklick Apr 15, 2024
28f4b4e
chore(changelog): update
moklick Apr 15, 2024
69decb5
Merge pull request #4158 from xyflow/fix/intersection-helper-positions
moklick Apr 15, 2024
f067740
Merge branch 'next' into internal-fix-resizer
peterkogo Apr 15, 2024
c5f394e
use evaluateNodePosition for parentExpand
peterkogo Apr 15, 2024
ccf6578
added parentLookup
peterkogo Apr 15, 2024
87086e9
added correct expandParent offset of children
peterkogo Apr 15, 2024
81bdaf6
prevent falsely adjusting currently dragged item on parentExpand
peterkogo Apr 15, 2024
53ea72e
chore(examples): cleanup
moklick Apr 16, 2024
e2ff509
fix(svelte): re-observe nodes when not initialized close #4160
moklick Apr 16, 2024
80aa168
chore(svelte): bump
moklick Apr 16, 2024
cd0585c
Merge branch 'svelte4' into next
moklick Apr 16, 2024
b2b23a9
Merge pull request #4143 from xyflow/fix-minimap-panning
moklick Apr 16, 2024
714d30b
fixed bug with expanding parent, made adjustments to evaluateNodePosi…
peterkogo Apr 16, 2024
aad6de5
simplified handleExpandParent, removed isParent, improved some functions
peterkogo Apr 16, 2024
2798700
renamed newPosition to nextPosition, removed comment
peterkogo Apr 16, 2024
2102c17
refactor(xydrag): use map for drag items
moklick Apr 16, 2024
5af34fd
fix(react): use equlity check for adopt user nodes
moklick Apr 16, 2024
e584b68
Merge pull request #4146 from xyflow/internal-fix-resizer
moklick Apr 16, 2024
f242494
Merge branch 'next' into refactor/xy-drag-use-map
moklick Apr 16, 2024
3348194
refactor(xydrag): cleanup
moklick Apr 16, 2024
5db4bd4
refactor(xydrag): cleanup
moklick Apr 16, 2024
eafb3c5
refactor(xydrag): cleanup
moklick Apr 16, 2024
6181c2d
Merge pull request #4166 from xyflow/refactor/xy-drag-use-map
moklick Apr 16, 2024
fca0dd7
fix(react): return user nodes for selection change handlers closes #3904
moklick Apr 17, 2024
28a2f8d
chore(react): add redux example
moklick Apr 17, 2024
6bab47f
refactor(node-selection): cleanup
moklick Apr 17, 2024
12c081a
chore(useReactFlow): cleanup
moklick Apr 17, 2024
93736c1
chore(changelog): update
moklick Apr 17, 2024
c798d65
Merge pull request #4168 from xyflow/refactor/node-selection
moklick Apr 17, 2024
6494c3f
call `onEnd` in `end` drag event hanlder in XYResizer
tonyf Apr 18, 2024
356737d
Merge pull request #4176 from tonyf/tonyf/node-resizer
moklick Apr 18, 2024
6c30686
refactor(utils): cleanup getPositionWithOrigin
moklick Apr 18, 2024
b6f458f
chore(utils): cleanup
moklick Apr 18, 2024
4a7ba3f
refactor(react): cleanup provider
moklick Apr 18, 2024
a0a046e
Do not reset nodes and edges. They are controlled by the user.
darabos Apr 18, 2024
973a3dd
fix(react): node observation #4064 (#4182)
moklick Apr 18, 2024
7e8bcd8
refactor(react): add setAttributes for dimension changes
moklick Apr 22, 2024
d0e07b2
chore(packages): bump
moklick Apr 22, 2024
40937c3
refactor(updateNode): replace false as default closes #4164
moklick Apr 22, 2024
a6c0bdc
Merge pull request #4193 from xyflow/next
moklick Apr 22, 2024
72582b0
Move node EventMap to types and use createEventDispatcher from svelte
RedPhoenixQ Apr 22, 2024
a7b6789
fix(react): handle setNodes batching in provider #4147
moklick Apr 25, 2024
95fd22d
chore(BatchProvider): cleanup
moklick Apr 25, 2024
3a23a59
chore(BatchProvider): cleanup
moklick Apr 25, 2024
0b684a7
chore(changelog): update
moklick Apr 25, 2024
d376583
Merge pull request #4209 from xyflow/fix/batching-provider
moklick Apr 25, 2024
972da58
fix(react): useNodesInitialized true when nodes measured closes #4202
moklick Apr 25, 2024
8c784c2
chore(react): bump
moklick Apr 25, 2024
c318288
Merge pull request #4212 from xyflow/next
moklick Apr 25, 2024
7501eac
fix(react): default node updates closes #4202
moklick Apr 29, 2024
930fe79
fix(react): export KeyCode type from system
moklick Apr 29, 2024
860128f
refactor(react): cleanup useReactFlow
moklick Apr 29, 2024
d23f593
Merge pull request #4219 from xyflow/fix/defaultnode-updates
moklick Apr 29, 2024
73913f0
Merge pull request #4220 from xyflow/fix/react-export-keycode
moklick Apr 29, 2024
962db70
Merge branch 'next' into refactor/use-react-flow
moklick Apr 29, 2024
5c57be6
Merge pull request #4221 from xyflow/refactor/use-react-flow
moklick Apr 29, 2024
eb229d8
Make handleId and isTarget reactive.
darabos Apr 29, 2024
eec2a69
fix typing for UpdateNodeInternals
DenizUgur Apr 29, 2024
a9dfd45
fix(system): dont break touch pan with panOnDrag is an array
moklick Apr 30, 2024
d1b5070
fix(system): pinch zoom on windows #3759
moklick Apr 30, 2024
8f3b56e
Merge pull request #4229 from xyflow/fix/react-pan-win-touch
moklick Apr 30, 2024
b67ff60
Merge pull request #4226 from DenizUgur/update-node-internals-typing
moklick Apr 30, 2024
170ef68
chore(react): changelog
moklick Apr 30, 2024
47da7a1
Merge pull request #4195 from RedPhoenixQ/node-event-types
moklick May 2, 2024
96efa4e
Merge pull request #4180 from darabos/patch-1
moklick May 2, 2024
2534a26
Merge pull request #4224 from darabos/patch-2
moklick May 2, 2024
bd95cc1
Merge pull request #4144 from xyflow/svelte-handle-valid-connection
moklick May 2, 2024
d4bfea9
chore(svelte): cleanup examples
moklick May 2, 2024
00cbf22
fix(svelte): only update node dimension attributes when necessary
moklick May 2, 2024
3b940ac
fix(svelte): use correct updateNodeInternals API
moklick May 2, 2024
f2f2c3c
feat(svelte): add fitViewOptions for Controls closes #4201
moklick May 2, 2024
534db65
feat(svelte): add getInternalNode and useInternalNode
moklick May 2, 2024
9984dd3
refactor(svelte): add quotes to edge marker urls
moklick May 2, 2024
e1ef456
test(svelte): nodeDragThreshold=0 for node tests
moklick May 2, 2024
51ab674
Merge pull request #4238 from xyflow/svelte4next
moklick May 2, 2024
ce9ce1d
fix(system): return user nodes in node drag/click handlers
moklick May 2, 2024
c0de3ad
chore(libs): export Align type
moklick May 2, 2024
ec25929
chore(changelogs): update
moklick May 2, 2024
ad3a803
fix(react): dont allow invalid selection rect
moklick May 2, 2024
5f3dbbb
chore(versions): bump
moklick May 2, 2024
d562818
fix(styles): add node-resizer to base style
moklick May 6, 2024
de86c64
fix(svelte): selection for sub flows
moklick May 6, 2024
1860dff
fix(minimap): sub flow node positions
moklick May 6, 2024
8d21037
Merge pull request #4222 from xyflow/next
moklick May 6, 2024
181a94d
fix(svelte): export useInternalNode hook
moklick May 6, 2024
9cf0965
fix(svelte): export InternalNode type
moklick May 6, 2024
fb30b81
fix(svelte): node toolbar for subflows
moklick May 6, 2024
b9ec783
fix(react): dont show nodeTypes warning if not necessary #3923
moklick May 7, 2024
5093213
chore(react): udpate return type of fixedForwardRef function
moklick May 7, 2024
2b0d75d
refactor(types): only export HandleProps but not HandleComponentProps
moklick May 7, 2024
32bac3e
chore(react): cleanup examples
moklick May 7, 2024
a364a93
feat(react): add warning when styles not loaded #4047
moklick May 7, 2024
adff7ef
Merge pull request #4261 from xyflow/react/styles-loaded-warning
moklick May 7, 2024
ccadb04
refactor(system): mutate internal node instead of creating a new one
moklick May 8, 2024
02250e9
chore(packages): bump
moklick May 8, 2024
467223b
Merge pull request #4258 from xyflow/next
moklick May 8, 2024
0834c4b
[React] Fix: type `updateNodeData` dataUpdate arg
ogroppo May 14, 2024
0f2e13c
should be Partial
ogroppo May 14, 2024
403aa8f
exposed selectable, deletable, draggable to custom nodes & edges
peterkogo Jun 3, 2024
02d724f
chore(examples): cleanup
moklick Jun 3, 2024
e82c72a
fix(react): re-observe nodes when hidden is toggled
moklick Jun 3, 2024
c94d684
fix(nodes): update internals after node resizer updates
moklick Jun 3, 2024
e52eb67
chore(react): update changelog
moklick Jun 3, 2024
dd960da
Merge pull request #4278 from ogroppo/type-updateNodeData-arg
moklick Jun 3, 2024
5769ad2
Merge pull request #4323 from xyflow/expose-node-edge-props
moklick Jun 3, 2024
3cc14e8
refactor(nodes): add parentId to NodeProps closes #4061
moklick Jun 3, 2024
9e1757b
removed pointer events from panel when user selection is active
peterkogo Jun 4, 2024
7ebabac
changed from store.edges.update to store.edges.set
peterkogo Jun 4, 2024
717935d
simpler
peterkogo Jun 4, 2024
4d3ede3
added edgemouseenter and edgemouseleave events
peterkogo Jun 4, 2024
18a41ec
removed console log
peterkogo Jun 4, 2024
716406b
Merge pull request #4332 from xyflow/svelte-edge-mouse-events
moklick Jun 4, 2024
0434d6c
chore(svelte): changelog
moklick Jun 4, 2024
0f44b8d
Merge pull request #4331 from xyflow/svelte-fix-selection
moklick Jun 4, 2024
7b21599
Merge branch 'next' of github.com:xyflow/xyflow into next
moklick Jun 4, 2024
2f45754
chore(svelte): changelog
moklick Jun 4, 2024
fb416ca
Merge pull request #4330 from xyflow/svelte-fix-panel
moklick Jun 4, 2024
8000711
Merge branch 'next' of github.com:xyflow/xyflow into next
moklick Jun 4, 2024
88af9ab
chore(svelte): changelog
moklick Jun 4, 2024
68f7d6c
chore(svelte): cleanup internal nodes and edges
moklick Jun 4, 2024
a22154b
fixed some type mismatches with default values
peterkogo Jun 4, 2024
875e643
fix(svelte): use user viewport store for init viewport closes #4335 (…
moklick Jun 5, 2024
abeb408
fix: Correct parent node lookup in evaluateAbsolutePosition
lcsfort Jun 5, 2024
d0e43b8
chore(packages): update deps
moklick Jun 5, 2024
a66bc2c
chore(system): cleanup d3 type usage
moklick Jun 5, 2024
48f07d5
chore(packages): bump
moklick Jun 5, 2024
2236138
Merge pull request #4339 from lcsfort/patch-1
moklick Jun 5, 2024
9f32970
Merge pull request #4328 from xyflow/next
moklick Jun 5, 2024
9d1cfb2
chore(changelog): update
moklick Jun 5, 2024
8236dc6
Merge branch 'next'
moklick Jun 5, 2024
99d0bc2
prevent zooming on mobile if zoomOnPinch is false
peterkogo Jun 5, 2024
7547531
abort drag when multiple touches are detected
peterkogo Jun 5, 2024
fd02d2f
made comment more explicit
peterkogo Jun 5, 2024
82dddb2
added straight edge to path built-in-types
peterkogo Jun 5, 2024
982ffb5
refactor(edge-text): enable dynamic edge label updates closes #4340
moklick Jun 5, 2024
ff784cb
use empty string instead of undefined
peterkogo Jun 6, 2024
09a6f11
Merge pull request #4341 from xyflow/fix-zoom-on-pinch-mobile
moklick Jun 6, 2024
2e5c2eb
Merge pull request #4343 from xyflow/fix-edge-type-path-options
moklick Jun 6, 2024
7e50247
Merge pull request #4342 from xyflow/fix-node-drag-zoom
moklick Jun 6, 2024
9bc721c
Merge pull request #4344 from xyflow/fix/dynamic-edge-labels
moklick Jun 6, 2024
fe86416
Merge pull request #4347 from xyflow/fix-pane-style
moklick Jun 6, 2024
2272c7f
refactor(system): reduce getBoundingClientRect calls
moklick Jun 6, 2024
2394a0e
Merge pull request #4352 from xyflow/refactor/system-get-handle-bounds
moklick Jun 6, 2024
71980a8
fix(react): add compiler options outDir
moklick Jun 6, 2024
1ac7e5d
Merge pull request #4353 from xyflow/fix/react-ts-dist
moklick Jun 6, 2024
3bba0b4
feat(useReactFlow): add updateEdge and updateEdgeData (#4351)
moklick Jun 6, 2024
3a8ead8
chore(pnpm): update lock file
moklick Jun 6, 2024
5d6ac6e
chore(packages): bump
moklick Jun 6, 2024
463e0ee
Merge pull request #4348 from xyflow/next
moklick Jun 6, 2024
c9d0f13
fix(handles): calc offset correctly
moklick Jun 10, 2024
7895a59
chore(packages): bump
moklick Jun 10, 2024
bab4eec
Merge pull request #4358 from xyflow/next
moklick Jun 10, 2024
59c5d47
Chore/turbo v2 (#4359)
moklick Jun 11, 2024
d2fdea4
Clearer issue template for bug reports (#4357)
johnrobbjr Jun 11, 2024
e6b21d3
chore(lint): cleanup minor issues
moklick Jun 11, 2024
42f4f59
tiny updates to internal library examples
peterkogo Jun 17, 2024
26456b3
only prevent shift scrolling when selection is actually in progress
peterkogo Jun 19, 2024
75acd24
Rename `updateEdge` to `reconnectEdge` (#4373)
moklick Jun 19, 2024
86438a9
Better selection usability (#4379)
peterkogo Jun 19, 2024
45359c4
chore(libs): changelogs
moklick Jun 19, 2024
2691f03
Merge pull request #4380 from xyflow/svelte-fix-shift-scroll
moklick Jun 19, 2024
6660427
chore(svelte): changelog
moklick Jun 19, 2024
6cf0113
Use correct end handle position when drawing a connection (#4382)
peterkogo Jun 19, 2024
3b48228
chore(changelogs): update
moklick Jun 19, 2024
57b62f8
determine correct handle positions in for connections (#4384)
peterkogo Jun 20, 2024
8346b79
chore(libs): changelogs
moklick Jun 20, 2024
7c8c40a
fixed tests
peterkogo Jun 20, 2024
b18d3d1
chore(pnpm-lock): update
moklick Jun 20, 2024
d0e166d
chore(packages): bump
moklick Jun 20, 2024
b2b4d51
Merge pull request #4383 from xyflow/next
moklick Jun 20, 2024
6704e51
fix(react): check if window exists
moklick Jun 20, 2024
aac0e9d
chore(react): changelog
moklick Jun 20, 2024
7338eab
chore(react): bump
moklick Jun 20, 2024
71db837
fix(react): window bug
moklick Jun 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/config.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These are supported funding model platforms

github: [wbkd]
github: [xyflow]
80 changes: 38 additions & 42 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,57 @@ body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue :pray:.
Hello! :sparkles: You found the place to submit a bug or issue that you discovered in the xyflow library, thank you for helping us out!

**Please only file issues for v11. Will will no longer fix issues for v10.**
Having trouble making something work in xyflow, but it’s not a bug with the library itself? You’ll get the fastest response by asking in [github discussions](https://github.com/xyflow/xyflow/discussions) or our [discord server](https://discord.gg/RVmnytFmGW).

This issue tracker is for reporting bugs found in react-flow (https://github.com/wbkd/react-flow)
If you have a question about how to achieve something and are struggling, please post a question
inside of react-flow's Discussion's tab: https://github.com/wbkd/react-flow/discussions
If it's an issue about the docs please go to the react-flow-docs (https://github.com/wbkd/react-flow-docs)
**Search our [discussions](https://github.com/xyflow/xyflow/discussions?discussions_q=) and [issues](https://github.com/xyflow/xyflow/issues?q=)** to see if your problem has already been reported and you can add more context, or see if someone else has already solved your issue. And of course, check our [docs](https://reactflow.dev/learn) if you haven’t already.

Before submitting a new bug/issue, please check the links below to see if there is a solution or question posted there already:
- react-flow's Open Issue's tab: https://github.com/wbkd/react-flow/issues?q=is%3Aissue+sort%3Aupdated-desc+position
- react-flow's Closed Issues tab: https://github.com/wbkd/react-flow/issues?q=is%3Aissue+sort%3Aupdated-desc+position+is%3Aclosed
- react-flow's Discussion's tab: https://github.com/wbkd/react-flow/discussions
**Issue with the xyflow Docs?** Submit an issue in our [web repo](https://github.com/xyflow/web/issues) instead.

The more information you fill in, the better the community can help you.
With that out of the way, let’s get started :bug:
- type: textarea
id: description
id: platform
attributes:
label: Describe the Bug
description: Provide a clear and concise description of the challenge you are running into.
label: What platform were you using when you found the bug?
description: We only address issues for the most recent xyflow major release or upcoming releases.
value: |
- React Flow / Svelte Flow version:
- Browser and version:
- OS and version:
validations:
required: true
- type: input
id: link
attributes:
label: Your Example Website or App
label: Live code example
description: |
Which website or app were you using when the bug happened?
Note:
- Your bug will may get fixed much faster if we can run your code and it doesn't have dependencies other than the `react-flow-renderer` npm package.
- To create a shareable code example you can use Codesandbox (https://codesandbox.io/s/react-flow-starter-ou8or) or Stackblitz (https://stackblitz.com/).
- Please read these tips for providing a minimal example: https://stackoverflow.com/help/mcve.
placeholder: |
e.g. https://stackblitz.com/edit/...... OR Github Repo
This is the most important part of the bug report!

React Flow codesandbox starters
- js: https://new.reactflow.dev/js
- ts: https://new.reactflow.dev/ts

Svelte Flow stackblitz starters
- js: https://new.svelteflow.dev/js
- ts: https://new.svelteflow.dev/ts

Avoid dependencies in your example for easier debugging.
placeholder: https://stackblitz.com/edit/... or Github Repo
validations:
required: false
- type: textarea
id: description
attributes:
label: Describe the Bug
description: What exactly is happening when you encounter the bug?
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce the Bug or Issue
description: Describe the steps we have to take to reproduce the behavior.
label: Steps to reproduce the bug or issue
description: How can we see the reported behavior in the code example you provided? The more detail, the better!
placeholder: |
1. Go to '...'
2. Click on '....'
Expand All @@ -56,9 +66,8 @@ body:
id: expected
attributes:
label: Expected behavior
description: Provide a clear and concise description of what you expected to happen.
placeholder: |
As a user, I expected ___ behavior but i am seeing ___
description: What would you expect to happen if there was no bug or issue?
placeholder: As a user, I expected ___ behavior, but instead I am seeing ___
validations:
required: true
- type: textarea
Expand All @@ -67,22 +76,9 @@ body:
label: Screenshots or Videos
description: |
If applicable, add screenshots or a video to help explain your problem.
For more information on the supported file image/file types and the file size limits, please refer
to the following link: https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/attaching-files
placeholder: |
You can drag your video or image files inside of this editor ↓
- type: textarea
id: platform
attributes:
label: Platform
value: |
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
validations:
required: true
Supported image/file types and file size limits- https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/attaching-files
placeholder: Drag your video or image files inside of this editor
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ examples/build
cypress/videos
cypress/screenshots
dist
.env
stats.html
.eslintcache
.idea
Expand Down
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
registry="https://registry.npmjs.com/"
legacy-peer-deps=true
strict-peer-dependencies=false
18 changes: 13 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
# Contributing to React Flow

Hello there! So glad you want to help out with React Flow 🤗 You’re the best. Here’s a guide for how you can contribute to the project.
Hello there! So glad you want to help out with React Flow and Svelte Flow 🤗 You’re the best. Here’s a guide for how you can contribute to the project.

# The new xyflow organization

Just recently we renamed our organization and repository of React Flow to "xyflow". Now you can not only find the source code of React Flow but also of Svelte Flow in this repository. We are in a state of transition. This is the current structure:

* React Flow `reactflow` version v11 is on branch v11
* Svelte Flow `@xyflow/svelte` can be found under [packages/svelte](./packages/svelte)
* React Flow v12 (not published yet) can be found under [packages/react](./packages/react)

# Our Contributing Philosophy

The direction of React Flow and which new features are added, and which are left out, is decided by the core team (sometimes referred to as a “cathedral” style of development). The core team is paid to do this work ([see how here](https://reactflow.dev/blog/asking-for-money-for-open-source/)). With this model we ensure that the people doing the most work on the library are paid for their time and effort, and that we prevent the library from bloating.
The direction of React Flow and Svelte Flow and which new features are added, and which are left out, is decided by the core team (sometimes referred to as a “cathedral” style of development). The core team is paid to do this work ([see how here](https://xyflow.com/blog/asking-for-money-for-open-source/)). With this model we ensure that the people doing the most work on the library are paid for their time and effort, and that we prevent the library from bloating.

That being said, React Flow is only interesting because of the people who make things with it, share their work, and discuss it. Some of the most important and undervalued work in open source is from non-code contributions, and that is where we can use the most help from you.
That being said, our libraries are only interesting because of the people who make things with it, share their work, and discuss it. Some of the most important and undervalued work in open source is from non-code contributions, and that is where we can use the most help from you.

# How can I help?

Expand All @@ -16,15 +24,15 @@ The things we need the most help for the library and its community are:

**💬 Answering questions** in our [Discord Server](https://discord.gg/Bqt6xrs) and [Github discussions](https://github.com/wbkd/react-flow/discussions).

🎬 **Create tutorials** for React Flow. Send them to us and we’ll happily share them!
🎬 **Create tutorials**. Send them to us and we’ll happily share them!

**✏️ Edit our [Docs](https://reactflow.dev/docs/introduction/)**: Make changes in the [react-flow-docs repo](https://github.com/wbkd/react-flow-docs), or click the "edit this page” button that lives on every doc site.

All interactions should be done with care following our [Code of Conduct](https://github.com/wbkd/react-flow/blob/main/CODE_OF_CONDUCT.md).

## Enhancements

If you have an idea or suggestion for an enhancement to the React Flow library, please use the [New Features](https://github.com/wbkd/react-flow/discussions/categories/new-features) discussion section. If you want to build it yourself, **please reach out to us before you dive into a new pull request.** The direction of React Flow and which new features are added are discussed in our Discord Server and in [this Github discussions section](https://github.com/wbkd/react-flow/discussions/categories/new-features), and in the end they are decided by the core team.
If you have an idea or suggestion for an enhancement to the React Flow or Svelte Flow library, please use the [New Features](https://github.com/wbkd/react-flow/discussions/categories/new-features) discussion section. If you want to build it yourself, **please reach out to us before you dive into a new pull request.** The direction of React Flow/ Svelte Flow and which new features are added are discussed in our Discord Server and in [this Github discussions section](https://github.com/wbkd/react-flow/discussions/categories/new-features), and in the end they are decided by the core team.

Talking to us first about the enhancement you want to build will be the most likely way to get your pull request into the library (see Our Contributing Philosophy above). We would hate to see you write code you’re proud of, just to learn that we’ve already been working on the same thing, or that we feel doesn’t fit into the core library.

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2023 webkid GmbH
Copyright (c) 2019-2024 webkid GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down