/syncfusion-angular:syncfusion-angular-sankeyfrom Syncfusion Angular UI Components
Create and configure Syncfusion Angular Sankey diagrams for flow visualization. Use this when visualizing weighted flows, processes, and hierarchical relationships. Supports node and link styling, legends, tooltips, events, accessibility features, and comprehensive data binding for complex flow diagrams.
Ships in Syncfusion Angular UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Sankey component visualizes directional flow and relationships between entities using nodes and links. Perfect for displaying process flows, energy distribution, resource allocation, and hierarchical relationships with proportional link widths representing quantities.
Use the Sankey component when you need to:
The Sankey diagram consists of:
📄 Read: references/api-reference.md
📄 Read: references/getting-started.md
@syncfusion/ej2-angular-charts package📄 Read: references/nodes-and-links.md
📄 Read: references/appearance-and-sizing.md
📄 Read: references/labels-legends-tooltips.md
📄 Read: references/customization-and-styling.md
📄 Read: references/events-and-interactions.md
📄 Read: references/advanced-features.md
import { Component, ViewEncapsulation } from '@angular/core';
import { SankeyAllModule } from '@syncfusion/ej2-angular-charts';
@Component({
imports: [SankeyAllModule],
standalone: true,
selector: 'app-sankey-demo',
template: `<ejs-sankey [dataSource]="data" [nodeSettings]="nodeSettings"></ejs-sankey>`,
encapsulation: ViewEncapsulation.None
})
export class SankeyDemoComponent {
data: any[] = [
{ sourceID: 'S1', targetID: 'T1', value: 5 },
{ sourceID: 'S1', targetID: 'T2', value: 3 },
{ sourceID: 'S2', targetID: 'T1', value: 2 }
];
nodeSettings: any = {
width: 20,
padding: 10
};
}
// Define nodes with categories for legend grouping
const nodes = [
{ id: 'Power', label: { text: 'Power Plant' }, category: 'Source' },
{ id: 'Grid', label: { text: 'Grid' }, category: 'Intermediary' },
{ id: 'Home', label: { text: 'Households' }, category: 'Sink' }
];
// Links represent flow quantities
const links = [
{ sourceID: 'Power', targetID: 'Grid', value: 100 },
{ sourceID: 'Grid', targetID: 'Home', value: 80 }
];
// Render event handler for value-based coloring
onNodeRendering = (args: INodeRenderingEventArgs) => {
const value = args.node.value || 0;
args.node.color = value > 100 ? '#00A651' : value > 50 ? '#FFB81C' : '#E81B23';
};
// Use opacity to emphasize relationships
onNodeEnter = (args: INodeEnterEventArgs) => {
args.node.highlightOpacity = 1;
};
onNodeLeave = (args: INodeLeaveEventArgs) => {
args.node.highlightOpacity = 0.3;
};
| Property | Type | Purpose |
|---|---|---|
width | string | Component width ('700px', '100%', or '90%') |
height | string | Component height ('420px', '450px', or '100%') |
title | string | Main title for the diagram |
subTitle | string | Subtitle with descriptive text |
orientation | string | Flow direction ('Horizontal' or 'Vertical') |
enableRtl | boolean | Enable right-to-left layout |
theme | string | Built-in theme (Material, Bootstrap, Tailwind, HighContrast, etc.) |
nodeStyle | Object | Global node styling (width, padding, opacity, colors) |
linkStyle | Object | Global link styling (curvature, opacity, colorType) |
labelSettings | Object | Label positioning and visibility |
legendSettings | Object | Legend configuration and positioning |
tooltip | Object | Tooltip template and visibility settings |
nodes | Array | Node definitions (manual property binding) |
links | Array | Link definitions (manual property binding) |
Related Documentation: See implementing-syncfusion-angular-components for other data visualization components.
references/advanced-features.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/appearance-and-sizing.md (opens in a new tab)references/customization-and-styling.md (opens in a new tab)references/events-and-interactions.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/labels-legends-tooltips.md (opens in a new tab)references/nodes-and-links.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-angular65 skills in this plugin
/syncfusion-angular-3d-chartImplement interactive 3D charts in Angular applications using Syncfusion. Guide covers setup, chart types (bar, column, stacked variants), customization, data binding, axis configuration, legends, tooltips, selection, data labels, appearance styling, dimensions, print/export, and accessibility. Use this skill whenever a user needs to create, configure, or customize 3D chart visualizations./syncfusion-angular-accordionGuide for implementing Angular Accordion components for collapsible content panels, expandable sections, FAQs, multi-step wizards, step-by-step forms, navigation menus, or tabbed navigation. Use this skill when users mention expanding/collapsing content, accordion layouts, step-by-step workflows, or hierarchical content organization. This skill covers initialization, expand modes, data binding, dynamic loading, animations, nested accordions, and real-world patterns./syncfusion-angular-accumulation-chartImplement and customize Syncfusion Angular Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) with data binding, labels, legends, and tooltips. Use this when creating accumulation charts, configuring chart types, customizing data visualization, adding annotations, or handling interactive chart events in Angular applications.Other plugins' skills for the same job