Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edge start marker #94

Open
lcastri opened this issue Jul 4, 2024 · 1 comment
Open

edge start marker #94

lcastri opened this issue Jul 4, 2024 · 1 comment

Comments

@lcastri
Copy link

lcastri commented Jul 4, 2024

Hi :)

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

@paulbrodersen
Copy link
Owner

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.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants