Skip to content

Conversation

@bcakmakoglu
Copy link
Owner

@bcakmakoglu bcakmakoglu commented Jul 15, 2024

🚀 What's changed?

…m` exports (#1547)

* refactor(core,edges): replace edge helpers with xyflow/system exports

Signed-off-by: braks <[email protected]>

* chore(core): cleanup

Signed-off-by: braks <[email protected]>

* chore(changeset): add

Signed-off-by: braks <[email protected]>

* chore(core): cleanup exports

Signed-off-by: braks <[email protected]>

---------

Signed-off-by: braks <[email protected]>
…ports (#1551)

* refactor(core): replace `clamp`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `clampPosition`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `getDimensions`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `getHostForElement`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `getOverlappingArea`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `boxToRect` & `rectToBox`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `getBoundsOfRects` & `getBoundsOfBoxe` & `rendererPointToPoint`

Signed-off-by: braks <[email protected]>

* refactor(minimap): update import of `getBoundsOfRects`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `getMarkerId`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `isRect` & `isNumeric`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `calcAutoPan`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `isMouseEvent`

Signed-off-by: braks <[email protected]>

* refactor(core): replace `getEventPosition`

Signed-off-by: braks <[email protected]>

* refactor(core): remove `isMacOS`

Signed-off-by: braks <[email protected]>

* chore(changeset): add

Signed-off-by: braks <[email protected]>

* chore(changeset): add

Signed-off-by: braks <[email protected]>

* chore(core): cleanup

Signed-off-by: braks <[email protected]>

---------

Signed-off-by: braks <[email protected]>
@bcakmakoglu bcakmakoglu added the refactor Refactor existing features label Jul 15, 2024
@bcakmakoglu bcakmakoglu self-assigned this Jul 15, 2024
@vercel
Copy link

vercel bot commented Jul 15, 2024

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
vue-flow-docs Error Error Nov 23, 2025 6:39pm

@changeset-bot
Copy link

changeset-bot bot commented Jul 15, 2024

🦋 Changeset detected

Latest commit: 2113b4a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@vue-flow/minimap Major
@vue-flow/core Major
@vue-flow/background Major
@vue-flow/controls Major
@vue-flow/node-resizer Major
@vue-flow/node-toolbar Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

chore(changeset): add

Signed-off-by: braks <[email protected]>
* refactor(minimap)!: use xy minimap instance

Signed-off-by: braks <[email protected]>

* chore(minimap): cleanup

Signed-off-by: braks <[email protected]>

* chore(minimap): cleanup deps

Signed-off-by: braks <[email protected]>

* chore(changeset): add

Signed-off-by: braks <[email protected]>

* refactor(node-toolbar): replace `ViewportTransform` type

Signed-off-by: braks <[email protected]>

* chore(node-toolbar): cleanup deps

Signed-off-by: braks <[email protected]>

* chore(core): re-export Viewport type

Signed-off-by: braks <[email protected]>

* chore(core): update system

Signed-off-by: braks <[email protected]>

* chore(docs): cleanup dead links

Signed-off-by: braks <[email protected]>

* chore(core): cleanup exports

Signed-off-by: braks <[email protected]>

---------

Signed-off-by: braks <[email protected]>
Signed-off-by: braks <[email protected]>
# Conflicts:
#	packages/core/package.json
#	packages/core/src/components/ConnectionLine/index.ts
#	packages/core/src/components/Edges/EdgeWrapper.ts
#	packages/core/src/components/Handle/Handle.vue
#	packages/core/src/components/Nodes/DefaultNode.ts
#	packages/core/src/components/Nodes/InputNode.ts
#	packages/core/src/components/Nodes/NodeWrapper.ts
#	packages/core/src/components/Nodes/OutputNode.ts
#	packages/core/src/composables/useDrag.ts
#	packages/core/src/composables/useHandle.ts
#	packages/core/src/composables/useViewportHelper.ts
#	packages/core/src/composables/useVueFlow.ts
#	packages/core/src/container/Pane/Pane.vue
#	packages/core/src/container/Viewport/Viewport.vue
#	packages/core/src/container/VueFlow/VueFlow.vue
#	packages/core/src/index.ts
#	packages/core/src/store/actions.ts
#	packages/core/src/store/hooks.ts
#	packages/core/src/types/edge.ts
#	packages/core/src/types/flow.ts
#	packages/core/src/types/node.ts
#	packages/core/src/types/store.ts
#	packages/core/src/types/zoom.ts
#	packages/core/src/utils/drag.ts
#	packages/core/src/utils/general.ts
#	packages/core/src/utils/graph.ts
#	packages/core/src/utils/handle.ts
#	packages/core/src/utils/node.ts
#	packages/minimap/src/MiniMap.vue
#	packages/node-toolbar/src/NodeToolbar.vue
#	pnpm-lock.yaml
Signed-off-by: braks <[email protected]>
@bcakmakoglu bcakmakoglu changed the title refactor(core,types): replace existing types/enums with those already provided by @xyflow/system refactor(core,types): align types with @xyflow/system Nov 23, 2025
@bcakmakoglu bcakmakoglu changed the title refactor(core,types): align types with @xyflow/system refactor(core): implement @xyflow/system Nov 23, 2025
@bcakmakoglu bcakmakoglu changed the base branch from refactor/xyflow-system to release/2.0.0 November 23, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactor existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants