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

Antv X6 Stencil Drag and Drop Feature #3554

Closed
salihkesepara opened this issue Apr 28, 2023 · 6 comments
Closed

Antv X6 Stencil Drag and Drop Feature #3554

salihkesepara opened this issue Apr 28, 2023 · 6 comments
Labels
type: discussion 讨论 Usage questions, guidance, and other discussions

Comments

@salihkesepara
Copy link

功能描述

I'm trying to do a simple behavior with stencil. In this example I create two nodes Node 1 and Node 2

The case is like this;

Drag and drop Node 1 into the graph.
User should see Node 2 into the graph.

https://codesandbox.io/s/ancient-river-w7n77x?file=/src/App.vue

image

image

期望解决方案

Drag and drop Node 1 into the graph.
User should see Node 2 into the graph.

@x6-bot
Copy link
Contributor

x6-bot bot commented Apr 28, 2023

👋 @salihkesepara

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@NewByVector
Copy link
Contributor

You can use getDropNode options to replace droped node like this.

@NewByVector NewByVector added the type: discussion 讨论 Usage questions, guidance, and other discussions label Apr 28, 2023
@salihkesepara
Copy link
Author

You can use getDropNode options to replace droped node like this.

It worked thanks

@salihkesepara
Copy link
Author

You can use getDropNode options to replace droped node like this.

Basic solutions is fine but I can't create a node group. How to do this?

image

@lloydzhou
Copy link
Contributor

@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 6, 2024

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: discussion 讨论 Usage questions, guidance, and other discussions
Projects
None yet
Development

No branches or pull requests

3 participants