Haystack edges Loop edges and compound parent nodes are not supported by haystack edges. Haystack edges are a more performant replacement for plain, straight line edges.

For fast, straight line edges (curve - style: haystack): http://js.cytoscape.org/#style/haystack-edges

interface HaystackEdges {
    haystack-radius: PropertyValueEdge<number>;
}

Properties

Properties

haystack-radius: PropertyValueEdge<number>

A value between 0 and 1 inclusive that indicates the relative radius used to position haystack edges on their connected nodes. The outside of the node is at 1, and the centre of the node is at 0.