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

Disable drag interactions with connections #44

Closed
danielemaddaluno opened this issue Oct 12, 2020 · 4 comments
Closed

Disable drag interactions with connections #44

danielemaddaluno opened this issue Oct 12, 2020 · 4 comments

Comments

@danielemaddaluno
Copy link
Contributor

Is there a way to programmatically block/disable the drag and drop interaction with connections (and joints)?
I would like to leave the drag interaction with boxes, but I want to disable just the connections interactions (which I want to add only programmatically: see #42 ).

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.56. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@eckig
Copy link
Owner

eckig commented Oct 12, 2020

Currently that is not possible: With the GraphEditorProperties you can control only the editable state of the entire graph.

To break this down into specific elements of the graph (nodes, connectors, connections, etc.) would introduce lots of new properties, but could be done..

@eckig
Copy link
Owner

eckig commented Oct 13, 2020

As this is a nice addition: I added element specific read-only properties.

I'm leaving this issue open to wait for your feedback.

@danielemaddaluno
Copy link
Contributor Author

Simply perfect!
Thank you @eckig!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants