Skip to content

GraphStyleProperties curveline && directed

Summary

graphStyleProperties curveLine: true incompatigle avec directed: true,

Steps to reproduce

`const nodes: Array = [ { id: '1', label: 'Node 1', x: 100, y: 100 } as Node, { id: '2', label: 'Node 2', x: 200, y: 200 } as Node, ];

const links: Array = [ { id: '1-2', source: nodes[0], target: nodes[1] } as Link, ];

const defaultArgs = { network: { id: 'MyNetwork', nodes: { 1: nodes[0], 2: nodes[1] }, links: links, } as Network, graphStyleProperties: { nodeStyles: { fill: '#3498db', stroke: '#2980b9', strokeWidth: 2, opacity: 1, }, linkStyles: { stroke: '#3498db', strokeWidth: 2, opacity: 1, }, curveLine: true, directed: true, } as GraphStyleProperties, };`

What is the current bug behavior?

La fleche n'apparait pas

What is the expected correct behavior?

Une fleche au bout de la ligne courbe

Relevant logs and/or screenshots

Possible fixes

Que JC corrige