plot icon indicating copy to clipboard operation
plot copied to clipboard

inset for Plot.link

Open Fil opened this issue 3 years ago • 2 comments

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

suggested by @yurivish

Fil avatar Jun 07 '22 20:06 Fil

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

yurivish avatar Jun 08 '22 01:06 yurivish

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

Fil avatar Jun 08 '22 05:06 Fil