OWASP / threat-dragon

An open source threat modeling tool from OWASP
https://owasp.org/www-project-threat-dragon/
Apache License 2.0
886 stars 233 forks source link

Improve selection of edges and creation of bendpoints #1067

Open srcnuzn opened 3 weeks ago

srcnuzn commented 3 weeks ago

Describe what problem your feature request solves:

Currently, it does not feel intuitive to select a data flow edge or a trust boundary. I have to select the text or the endpoint in order to access the properties. If i click anywhere else on the line, a bend point is immediately created. Often, I don't want to create a bend point but just select the data flow / trust boundary to edit properties.

Describe the solution you'd like:

I would prefer a UX similar to Miro. When clicking the edge, the properties are shown. When clicking on the circle between two bend points, a new bend point is created.

Additional context:

jgadsden commented 2 weeks ago

yes, I agree that this has been a long standing problem with the AntV/X6 drawing package we have not yet managed to find a solution, it may be that migrating the package to version 2.0 (see #722) may help , really not sure either way this is related to issue #785 , which suggests updating the docs to help with this (irritating) problem with selecting dataflows

srcnuzn commented 2 weeks ago

Once I got used to it, it's fine (lower prio for me personally). Was just very confusing in the beginning. Maybe a selection work around could be to have an outline view (list) of all elements in the canvas.