SankeyDiagram 1.0.1

dotnet add package SankeyDiagram --version 1.0.1                
NuGet\Install-Package SankeyDiagram -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SankeyDiagram" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SankeyDiagram --version 1.0.1                
#r "nuget: SankeyDiagram, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SankeyDiagram as a Cake Addin
#addin nuget:?package=SankeyDiagram&version=1.0.1

// Install SankeyDiagram as a Cake Tool
#tool nuget:?package=SankeyDiagram&version=1.0.1                

A powerful and easy to use WPF library for drawing Sankey diagram.


  • in xaml                `
<kantCharts:SankeyDiagram Height="355"
            HighlightBrush="{StaticResource SankeyHighlightBrush}"
            LabelStyle="{StaticResource SankeyLabelStyle}"
            HighlightLabelStyle="{StaticResource SankeyHighlightLabelStyle}"
            Datas="{Binding SankeyDatas}"
            SankeyFlowDirection="{Binding SankeyFlowDirection}"
            ShowLabels="{Binding SankeyShowLabels}"
            HighlightMode="{Binding SankeyHighlightMode}"
            NodeBrushes="{Binding SankeyNodeBrushes}"
            HighlightNode="{Binding HighlightSankeyNode}"
            HighlightLink="{Binding HighlightSankeyLink}" />
  • in view model
var datas = new List<SankeyDataRow>()
    new SankeyDataRow("A", "C", 255),
    new SankeyDataRow("A", "D", 355),
    new SankeyDataRow("B", "C", 555),
    new SankeyDataRow("B", "D", 255),
    new SankeyDataRow("B", "E", 1555),
    new SankeyDataRow("C", "H", 155),
    new SankeyDataRow("D", "F", 25),
    new SankeyDataRow("D", "G", 155),
    new SankeyDataRow("D", "H", 15),
    new SankeyDataRow("D", "I", 55),
    new SankeyDataRow("E", "H", 1555),
    new SankeyDataRow("B", "G", 255),
    new SankeyDataRow("A", "E", 95),
    new SankeyDataRow("E", "I", 1555),
    new SankeyDataRow("C", "G", 755),
    new SankeyDataRow("C", "F", 455),
  • the beauty of data visualization
    <br /> sankey diagram

For style or other settings, please see

For upcoming features, please see

Demo applications included in the source project. <br /> <br /> <br />Contact:

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 956 6/29/2020