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

Flowchart resetting due to app.diagram.net not working properly #406

Open
MxPie200 opened this issue Apr 23, 2023 · 14 comments
Open

Flowchart resetting due to app.diagram.net not working properly #406

MxPie200 opened this issue Apr 23, 2023 · 14 comments

Comments

@MxPie200
Copy link

I'm still having the same issue as @bijwaard , in 2023.
I can open the drawing and its showing the mentioned warning:
grafik

But if i make any changes to the Flowchart, the whole thing disappeared after closing the editor:

grafik

How can I edit my drawing / how can we move to embed.diagrams.net ?
Changing the url in the "Source Content" does not work:
grafik

I really like the Flowchart extension and would be great to hear about a fix for my issue.

Originally posted by @MxPie200 in #230 (comment)

@bijwaard
Copy link

Hi @MxPie200,
Have you tried to specify editor? This works for me!
image
Kind regards,
Dennis

@MxPie200
Copy link
Author

@bijwaard
Yes, I've tried it.
It opens the editor correctly, but after clicking on "Save" the Flowchart disappears as shown in my second screenshot

@bijwaard
Copy link

Aha, just tried editing my drawing, set it to light theme, and get the following back:

image

Looks like it reverts to the default diagram for some reason.

@MxPie200
Copy link
Author

Hm ok, so it looks like it's a new bug with currently no solution for?

@bijwaard
Copy link

bijwaard commented Apr 23, 2023

Looks like a new bug indeed. What version of the plugin are you using? I'm using 1.0.0d (on grafana 9.3.2).

$ sudo grafana-cli plugins ls
installed plugins:
ae3e-plotly-panel @ 0.5.0
agenty-flowcharting-panel @ 1.0.0d
alexandra-trackmap-panel @ 2.3.0
marcuscalidus-svg-panel @ 0.3.4
natel-plotly-panel @ 0.0.7
simpod-json-datasource @ 0.3.0

@MxPie200
Copy link
Author

@bijwaard
I have Version 0.9.1. , but grafana doesn't show updates, can i update via commandline?

@bijwaard
Copy link

Yes, you can update via the command line. You move the old plugin away from /var/lib/grafana/plugins and unzip the latest the beta release in the /var/lib/grafana/plugins folder, then restart grafana. Depending on which version you had previously, you may need to rename the folder to the old name.

@MxPie200
Copy link
Author

Which files do i have to copy from github?

@bijwaard
Copy link

just tried on another grafana instance with plugin version 1.0.0b on grafana 9.1.5, and here the editor keeps working, but after saving the result stays blank in the panel, but further editing still works.

@bijwaard
Copy link

bijwaard commented Apr 23, 2023

Latest snapshot is here. Current and older snapshots are here.

Bug may be a regression in 1.0.0d, and possibly a change in how embed.diagrams.net works for older versions.

@bijwaard
Copy link

bijwaard commented Apr 23, 2023

you can rename your ticket to say that embed.diagrams.net is not working properly....

@MxPie200
Copy link
Author

hm ok, i've had same as you that changes lead to reset to default flowchart..

@MxPie200 MxPie200 changed the title Still having issue #230 (Cant save edited Flowchart due to app.diagram.net not working anymore) Flowchart resetting due to app.diagram.net not working properly Apr 23, 2023
@bijwaard
Copy link

Hopefully Arnaud just has to update/refresh the embed.diagrams.net library in the plugin....

@bijwaard
Copy link

looks like the same problem reported in #395

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

No branches or pull requests

2 participants