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

Allow nodes to be draggable when layout is set to none, or keep nodes fixed when dragged in force-layout graph #14510

Closed
MichaelElliot1999 opened this issue Mar 22, 2021 · 3 comments
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.

Comments

@MichaelElliot1999
Copy link

Version

5.0.2

Steps to reproduce

Create any graph diagram with layout set to none or force. When draggable is set to true on force layout, all of the nodes shuffle and its not good to control. When layout is set to none and positions are fixed, draggable cannot be set

What is expected?

I expect to be able to set draggable on 'layout: none' or have some setting on force layout to keep other nodes static while one is being dragged

What is actually happening?

All nodes move or no nodes move at all


I am trying to create a directional node graph which represents software architectures, the user should be able to customise the layout of their architecture by dragging and dropping nodes

@echarts-bot
Copy link

echarts-bot bot commented Mar 22, 2021

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Mar 22, 2021
@MichaelElliot1999
Copy link
Author

This old issue is on the same topic: #6467

@Ovilia
Copy link
Contributor

Ovilia commented Mar 24, 2021

This is not a bug because the document states:

Only available when using force-directed layout.

I will mark this as a new feature.

@Ovilia Ovilia added new-feature and removed bug labels Mar 24, 2021
@Ovilia Ovilia added this to the TBD milestone Mar 24, 2021
@100pah 100pah closed this as completed in ff68ced Aug 22, 2022
@Ovilia Ovilia removed this from the TBD milestone Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

2 participants