Closed Julian-Z98 closed 3 years ago
Could you try with a propper url (with schema) :url('file:///D:/Studium/Scaffold/s[...].png'
Thanks for the quick answer. Unfortunately it does not work with this addition either.
tmpNode.addAttribute("ui.style", "fill-image: url('file:///D:/Studium/Scaffold/scaffoldTest/scaffoldTestOutput/Test11/Tree/TreeTest0Level0.png');"); //does not work
graph.addAttribute("ui.stylesheet", "node { fill-mode: image-scaled; fill-image: url('file:///D:/Studium/Scaffold/scaffoldTest/scaffoldTestOutput/Test11/Tree/TreeTest0Level0.png'); }"); //does not work
I just tried it again with version 2.0 and setAttribute instead of addAttribute. Now it works with the new Url. Thanks a lot for the help.
I would like to use GraphStream to display a tree where the nodes are images. None of the commands I found in the tutorials work for me. Colouring the nodes with the same commands is no problem. The Url works without any problems in another context. Unfortunately, I don't see the error even after trying around for a while.
Greetings Julian