BusinessOptics / dash_interactive_graphviz

An interactive graphviz viewer for Dash
MIT License
37 stars 8 forks source link

Images from graphviz files are not displayed #29

Open hoangcuongnguyen2001 opened 1 year ago

hoangcuongnguyen2001 commented 1 year ago

Hello everyone, I am trying to display images from my Graphviz file (just a part of it) below: digraph G { graph [center=true rankdir=LR ratio=compress size="15,10"] "file#file#34" [label="" image="assets/File.png" shape=plaintext xlabel="file CreateProcess API- "] "url#file#64" [label="" image="assets/File.png" shape=plaintext xlabel="URL FTP service- "] "network#network#100" [label="" image="assets/Network.png" shape=plaintext xlabel="network- "] "process#network#152" [label="" image="assets/Network.png" shape=plaintext xlabel="process- "] "registration#executable#172" [label="" image="assets/Executable.png" shape=plaintext xlabel="Assembly Registration- "] "apis#file#290" [label="" image="assets/File.png" shape=plaintext xlabel="APIs- "] My code is currently like this: image

However, when I tried to load the graph in the local server, none of my images are shown, like this: image

So I would like to ask that does the library have any features to add images from Graphviz file into the website? And if so, how could we be able to do it? Thank you!