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
Partial-interactive graph #291
Comments
If you don't implement an If you want an inactive chart but be able to connect nodes that's not possible for now. Do you think this is really a use case? |
No implementing the In my case - yes, I need this. I want to give some users permissions to only view the graph without the ability to link between the nodes (and I do want them to be able to drag/drop/rearrange the graph structure). |
Ah, you are right. We are still drawing the connection line even if there is no on connect handler. For this case we could introduce a new option like |
Sure, this is also a valid option: The reason is that sometimes flows should be handled by one person (and the position of the elements explains the flow of the data in the system), and some other person have the ability to create the connection, but not changing the position of the elements. |
Ok, got it. I will see how we can achieve this. |
You can now use the properties |
Feature request - support an option for drag&drop nodes, but prevent the user from creating new edges (connect between two nodes).
In general - I think the lib should support control for each of those:
This way it's possible to control all options and mix between them.
One might want to allow all (same as what the lib supports now), but another might want to have the nodes fixed and allow creation of new edges/links, or maybe support moving around the nodes, but prevent create new connections between nodes.
Giving an option to control each of them allows much more flexibility to the lib.
The text was updated successfully, but these errors were encountered: