algenty / grafana-flowcharting

Flowcharting, plugin for Grafana to create complexe visio's draws style like technical architectures, floorplan, diagrams, hierarchical schema based on draw.io
Apache License 2.0
977 stars 149 forks source link

Can you add documentation, for using the plugin without any Internet Access #357

Open htam-net opened 2 years ago

htam-net commented 2 years ago

By default, the plugin requires Internet access to diagrams.net. In some implementation, this internet access isn't available. Could it be possible to add document to describe what the elements that have to be edited ?

Thank you in adavance, Sincerely yours, Mathieu.

PS : This plugin is great.

algenty commented 2 years ago

Hi, Mathieu Off course, you can install your own editor server or on local like docker (it's even better if you have confidential datas) and change the url in flowchart. You also should copy/paste xml definition with desktop solution drawio

daveoy commented 2 years ago

@htam-net we use this plugin in an environment without internet access. our flowcharts are draw.io xml. the plugin seemed unhappy copy / pasting the xml into the source box so i saved the JSON from a default dash and pasted in the chart xml in vscode (swapping out the " characters to maintain valid JSON).

i would love to see a local editor hosted in docker as @algenty suggests -- my environment is kubernetes, i'll deploy https://hub.docker.com/r/jgraph/drawio/ and see if it works.

TotieBash commented 1 year ago

It is as @algenty stated. I also have a use case on air-gap network. I personally use https://hub.docker.com/r/jgraph/drawio docker container proxied by nginx with great success. I use the flowchart 1.0d latest git plugin. Thank you @algenty for a very good flowchart plugin for Grafana.

By the way, my use case is as a Network Diagram tool similar to Solarwinds, PRTG or Whatsup Gold. I use the Telegraf, Influxdb and Grafana aka TIG stack. I use Telegraf for icmp monitor, SNMPv3 and Streaming Telemetry > send it to Influxdb. I use Grafana to visualize all of it. I use the flowcharting plugin to draw a Network Diagram map of how everything is connected and use the color mapping to turn green/red/amber status of the device. Very happy with the result. I do have bug problem that I am currently tracing the root cause where occasionally the whole map would turn red as if all network device is down but the next refresh cycle it is back to normal. I'm sure its all about massaging the config but its still annoying.