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

Feature request: multiple arrowheads along the edge of a directed arc #102

Open
hdavid16 opened this issue Jan 23, 2023 · 0 comments
Open

Comments

@hdavid16
Copy link
Collaborator

hdavid16 commented Jan 23, 2023

This might be something interesting to have at some point. The user could specify the relative spacing between arrowheads along the length of the edge. Another option would be to specify waypoints for the arrowheads.

This is obviously not a must have, but would be a feature that would give more flexibility to the user.

General idea: have an attribute (e.g., arrow_number) such that this number of arrowheads are added. We could leverage the interpolate function and apply it over several values. For example: if arrow_number = 3, then apply interpolate at 0.25, 0.50, and 0.75 (i.e., interpolate(p,t) for t in range(0,1,arrow_number+2)[2:end-1]).

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

No branches or pull requests

1 participant