Question

I am displaying a graph. I have discovered the attributes. I am using successfully URL, shape and color. But I also want to output nodes without IDs (my IDs are too long to fit the display). So I have tried to set label to "", but still the node id is shown in the svg output. How can I prevent this? These are the attributes I am setting (in python):

[ 
  ('label', ''),
  ('URL', 'http://my.url.com'), 
  ('shape', 'octagon'),
  ('color', 'purple'),
] 
Was it helpful?

Solution

Setting the URL conflicts with an empty label. A Short label must be configured if a URL is given.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top