netgraph icon indicating copy to clipboard operation
netgraph copied to clipboard

edge start marker

Open lcastri opened this issue 1 year ago • 1 comments

Hi :)

Is it possible to draw an edge with a start marker? E.g., o--> or x--> ?

lcastri avatar Jul 04 '24 16:07 lcastri

Short answer: no.

Long answer: Start and end marker customization is a feature worth thinking about but it will take a lot of work to implement it properly. In the meantime, I can try to make it easier to add them yourself after creating a figure. For example, edge artists could have attributes that keep track of the first and last point on their midline outside of the source and target node artists. Then you could simply add a marker at each of those locations.

However, the interactive features of the library wouldn't play nicely with these extra markers (i.e. moving nodes with the mouse, highlighting parts of the graph, adding nodes and/or edges, etc.).

paulbrodersen avatar Jul 05 '24 08:07 paulbrodersen