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

inset for Plot.link #920

Open
Fil opened this issue Jun 7, 2022 · 2 comments · May be fixed by #924
Open

inset for Plot.link #920

Fil opened this issue Jun 7, 2022 · 2 comments · May be fixed by #924
Assignees
Labels
enhancement New feature or request

Comments

@Fil
Copy link
Contributor

Fil commented Jun 7, 2022

it would be nice if the link mark supported inset the same way arrows do

suggested by @yurivish

@Fil Fil added the enhancement New feature or request label Jun 7, 2022
@Fil Fil self-assigned this Jun 7, 2022
@yurivish
Copy link
Contributor

yurivish commented Jun 8, 2022

A complimentary idea might be to support curve for arrows (as an alternative to bend), or maybe supporting arrowheads on link marks. Thinking about this more made me curious whether there's a fundamental difference between links and arrows.

Context-wise, this came up when I wanted to try using arrows as directed tree edges, but laying out the curves with bump-x or bump-y rather than using bend (as below). It does look quite exuberant. :)

image

@Fil
Copy link
Contributor Author

Fil commented Jun 8, 2022

You can use Plot.link(data, {…, markerEnd: "arrow", curve: "bump-x"})

@Fil Fil linked a pull request Jun 8, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants