GraphStream Users

Archives de la liste Aide

Graphstream and Icons

Chronologique Discussions 
  • From: Dennis Krauß <denniskrauss AT>
  • To: "graphstream-users AT" <graphstream-users AT>
  • Subject: Graphstream and Icons
  • Date: Sat, 22 Nov 2014 20:09:43 +0100
  • Importance: Normal

Hello GraphStream-Users,

at first i want to apologize for my bad english (im german).
I need some help to use icons on my graph. To be exact i need two things
1) Icons as nodes
2) Icons beside the nodes

so i need the things shown in the first and last picture at the top row from following tutorial:

I think i have to write a stylesheet like
String styleSheet = "node {size: 100px; fill-mode: image-scaled;}"
  + " {fill-image: url('fun.gif');}"
  + "node.dull {fill-image: url('images/head.png');"
+ "}"

but somehow i dont get it running. i never get icons -.-
could one of you show me an examlpe with icons for both of my variants?


Archives gérées par MHonArc 2.6.16.

Top of page