Mike Chelen
Mike Chelen

Reputation: 402

Wrap node labels

Is there any way to make node label text wrap? I have some nodes with very long labels, and they would be more readable if wrapped onto 2 or 3 lines. I tried using CSS but it doesn't seem to have any effect.

Upvotes: 2

Views: 1469

Answers (1)

maxkfranz
maxkfranz

Reputation: 12242

As of 2015, you can use text-wrap: http://js.cytoscape.org/#style/labels

Upvotes: 3

Related Questions