Carl Moder
Carl Moder

Reputation: 35

Cytoscape.js: edge labeling on two sides

Is it possible in Cytoscape.js to double-label an edge, i.e. display two strings on the two ends, next to the connected nodes?

Upvotes: 1

Views: 934

Answers (1)

maxkfranz
maxkfranz

Reputation: 12242

Yes, just set the source and target labels in your stylesheet : http://js.cytoscape.org/#style/labels

Upvotes: 1

Related Questions