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

Links colored by gradient between colors of two connecting arcs #402

Open
dl-mallory opened this issue Oct 25, 2024 · 0 comments
Open

Links colored by gradient between colors of two connecting arcs #402

dl-mallory opened this issue Oct 25, 2024 · 0 comments

Comments

@dl-mallory
Copy link

dl-mallory commented Oct 25, 2024

Hi,

This is a fantastic and extensive package, but I have one thing that I am hoping is possible with the chordDiagram. Specifically, I want to color the links between arcs as a gradient ranging between the two colors of the connecting arcs. In the documentation it says this was fixed, but I don't see it.

Given the implementation, I'd imagine you might have to code each polygon as a loop of smaller polygons subsetting the bezier curve, but I'm not sure how to do that with the implementation (and don't have enough expertise in R yet). Something like a LinearGradient (python) where the point at 1/2 arc length is the midpoint of the color gradient.

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