johnnyflinn / ngCytoscape

Angular directive for cytoscape.js
http://johnnyflinn.github.io/ngCytoscape
MIT License
17 stars 18 forks source link

Node and edge notes and names #15

Closed endl3ssx closed 8 years ago

endl3ssx commented 8 years ago

Hello, is it possible to display a name on each node and edge? Or a note, something. I couldn't possibly find anything in the documentation. Thank you!

johnnyflinn commented 8 years ago

I think you're talking about labels. See http://js.cytoscape.org/#style/labels for details on how to set your styles up for label properties on nodes and edges.