andymchugh / andrewbmchugh-flow-panel

Apache License 2.0
34 stars 2 forks source link

Add button to launch editing of SVG in draw.io diagrams.net and saving back to panel #50

Closed xkilian closed 4 months ago

xkilian commented 4 months ago

Improve workflow by adding an Edit diagram button that will launch diagrams.net with the json variable set and passing the svg data. When saving, put the data back into the SVG code window. This was supported in flowcharting, and was immensely useful editing existing panels.

xkilian commented 4 months ago

We have multiple environments that are not connected to our code repos, so having the options to directly edit in draw.io is very convenient. I understand there may be other SVG editors that people use, so the button may need to be named "Edit diagram in Draw.io" to avoid confusion

andymchugh commented 4 months ago

I don't think this will happen any time soon. My experience with those flowcharting buttons wasn't as positive as yours. I understand the lack of connectivity problem, but find with that the most enabling workflow to be having three UIs: draw.io desktop app + visual studio + the grafana. With a workflow of:

I know this is opinionated, Everyone will gravitate to their own workflow. Just feel for now, this one is the one I want to promote.

xkilian commented 4 months ago

Not a problem, thank you for the answer.