Skip to content

[Feature] emphasis full path of link/node from start to finish of chart #17448

@ElayGelbart

Description

@ElayGelbart

What problem does this feature solve?

for Sankey series, emphasis focus can have 4 options: "none" | "series" | "self" | "adjacency".
i want to be able to focus all the path of connected edges and node from start to end of the selected edge\node and not only one depth before after

What does the proposed API look like?

new option for emphasis: "fullPath"

Example:

chart.setOption({
  series: [{
    type: 'sankey', 
   data: sankeyData.nodes,
   links: sankeyData.links,
   emphasis: {
     focus: "fullPath",
     }
  }]
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions