magjac/graphviz-visual-editor

Way to change properties for existing objects

nick87720z opened this issue · 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).

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.