antvis / XFlow

React component for building interactive diagrams.
https://x6.antv.antgroup.com/xflow/guide/introduction
MIT License
592 stars 242 forks source link

fix: add vertices, router, connector, source, target update for edge … #148

Closed zxc0328 closed 2 years ago

zxc0328 commented 2 years ago

更新了 edge-update 的 node-update ,添加了在更新时对 node 的 visible,edge 的 visible,vertices, router, connector, source, target 等属性的更新逻辑。其中 source 和 target 主要针对传入 source 和 target 是 Point 的场景。

Fix https://github.com/antvis/XFlow/issues/111

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: af9b5a9d4945e26bd6af6b09ca9e9f47591ebc5d

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

This PR includes changesets to release 6 packages | Name | Type | | --------------------- | ----- | | @antv/xflow-core | Patch | | @antv/xflow | Patch | | @antv/xflow-extension | Patch | | @antv/xflow-hook | Patch | | xflow-quick-start-cra | Patch | | xflow-quick-start-umi | Patch |

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

xflow-bot[bot] commented 2 years ago

👋 @zxc0328

💖 Thanks for opening this pull request! 💖

Please follow the contributing guidelines. And we use semantic commit messages to streamline the release process.

Examples of commit messages with semantic prefixes:

Things that will help get your PR across the finish line:

We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.