Skip to content

[Question] How to make a Color of link gradient #20980

Open
@delusion-entity

Description

@delusion-entity

What problem does this feature solve?

Hi,
I have a graph with a lot of link ,
is it possible to make the link gradient base of the Source and target
Like the source of the link is the start of the gradient with color 1 and the target is the end with color 2

(Right now its a basic gradient not related to the source or target)
Image

What does the proposed API look like?

lineStyle:{ color: gradient( {sourceColor}, {targetColor} )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions