0

I can render a node with the help of either:

  1. LabelRenderer (that shows the text content of the node)

or

  1. ShapeRenderer (that shows the shape of the node)

I want a mix-up of both, means the shape should be displayed with tthe text (label) on it.

How can I do this. I tried to add both renderers (label and shape renderers) to the visualization but it didn't work.

A lot of thanks in advance

Amit
  • 33,847
  • 91
  • 226
  • 299

1 Answers1

0

You need Decorators for this purpose.

Amit
  • 33,847
  • 91
  • 226
  • 299