-
Notifications
You must be signed in to change notification settings - Fork 62
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
Allow arrowheads in the middle of a shaft #262
Comments
More generally most vector graphics libraries allow markers to be placed On Mon, Sep 14, 2015 at 10:08 AM Brent Yorgey [email protected]
|
Right, so maybe the more general issue is that we need a nicer way to draw On 9:48am, Mon, Sep 14, 2015 Jeffrey Rosenbluth [email protected]
|
Sometimes one might like to draw arrows where the arrowhead shows up at the midpoint of the shaft. For example, this style is often used to indicate the orientation of edges in a directed graph. Currently this can be hacked by e.g. drawing two arrows, one to the midpoint and one without a head the rest of the way (overlapping them a bit so there is no gap) but it would be nice to support this directly. I am not sure what the API should be. Perhaps there can just be a parameter specifying how far along the shaft the head (or, respectively, the tail) should be placed (as a fraction of the arc length); if you want the midpoint you can specify 0.5.
The text was updated successfully, but these errors were encountered: