Red target arrows do not work in Cytoscape.js> = 2.7.0

I noticed that when using the current unstable branch (2.7.0-unstable) there are no edge sources or target arrows. Standard Cy demo show below. Is this a known issue or has something changed?

+5
source share
1 answer

The default stylesheet has been updated in 2.7 to improve default performance. This means that haystack edge is used by default, and haystacks only support middle arrows.

If you set the edges in the style sheet to bezier, you can use the source and target arrows, for example.

edge { curve-style: bezier; target-arrow-shape: triangle; } 
+12
source

All Articles