graphviz-visual-editor icon indicating copy to clipboard operation
graphviz-visual-editor copied to clipboard

Way to change properties for existing objects

Open nick87720z opened this issue 2 years ago • 1 comments

Current approach of properties is somewhat unconvenient. For now style is only changed for objects to be later added, existing view can't be changed. Meanwhile, core graphviz is more flexible than that. It could be easier without requiring graph source editing.

Style dialogs should reflect whatever is selected, rather than settings for future elements. If node is selected, than show and change its style. If nothing is selected (also by clicking the canvas) - show global style. Global style is one, applied to all elements, and for graphviz usually changed via special options -G, -N, -E (well, 3rd is for edge of course).

Though I'm not sure, how to handle situation with multiple selected objects (just realised such a UX puzzle).

nick87720z avatar Dec 04 '21 18:12 nick87720z

Thanks for your suggestions. I'll consider them for future releases. The situation with multiple selected object can be solved by allowing the style dialog to keep current settings for individual components, but that's quite a lot of work that I'm not sure I'll ever get to.

magjac avatar Feb 04 '22 06:02 magjac