hp36
hp36

Reputation: 279

How to position text on node in cytoscape.js

I am using cytoscape.js to create graph with nodes. I want to position node's content below that node so that arrow direction is clearly visible. How can i do this?

Upvotes: 0

Views: 2336

Answers (1)

maxkfranz
maxkfranz

Reputation: 12242

Use text-halign and text-valign. http://cytoscape.github.io/cytoscape.js/#style/properties

Upvotes: 1

Related Questions