desc
desc

Reputation: 1210

change arrow position for mid-target edges

Is there a way to change the midpoint position of edge arrows. Currently it's set at 50%, but I'd like to be able to adjust this to 25% or 75% depending on the edge. Is there a variable/option I can call within:

{selector: 'edge',
    style: {
    'curve-style': 'bezier',
    'line-color': '#506368',
    'mid-target-arrow-shape': 'triangle',
    'mid-target-arrow-color': 'black',
    'width': 1,
    }
},

Upvotes: 2

Views: 539

Answers (1)

maxkfranz
maxkfranz

Reputation: 12242

I don't think that's going to happen. The only reason that the mid arrow is allowed is because the point has to be calculated anyway. Arbitrary points become expensive for beziers.

Upvotes: 1

Related Questions