GraphStream Users

Archives de la liste Aide

node styling via CSS

Chronologique Discussions 
  • From: <emixp AT>
  • To: graphstream-users AT
  • Subject: node styling via CSS
  • Date: Mon, 26 May 2014 06:55:30 +0200 (CEST)


I am currently playing around with a minimal application which just creates a
small graph and displays it.

Coloring and re-sizing the nodes using CSS classes works fine, adding labels
the nodes too.

However, the following CSS code seems to do nothing:

node {
text-alignment: under;
text-background-color: #C0C0C0;
text-background-mode: rounded-box;

I'm adding the labels to the nodes like this: node.addAttribute("ui.label",

Sadly, there is no error message or exceptions, just nothing changes.

What could I do to identify the issue here?

Thank you,

Archives gérées par MHonArc 2.6.16.

Top of page