Jeremy
Jeremy

Reputation: 46440

How to auto size nodes based on content in cytoscape.js

I want my nodes to be rectangular, with text content inside the rectangle. That much I can do, however I would like the rectangle to size appropriately to the width of the text. Can that be done?

Upvotes: 4

Views: 2363

Answers (1)

maxkfranz
maxkfranz

Reputation: 12250

This is planned for 2.4, but I don't know whether I'll be able to devote the time to it in the near future: https://github.com/cytoscape/cytoscape.js/issues/649

Upvotes: 2

Related Questions