SankeyDiagram 1.0.1

.NET Framework 4.5
Install-Package SankeyDiagram -Version 1.0.1
dotnet add package SankeyDiagram --version 1.0.1
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SankeyDiagram, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

##Usage

  • in xaml                `
<kantCharts:SankeyDiagram Height="355"
            NodeThickness="25"
            NodeGap="5"
            UseNodeLinksPalette="True"
            HighlightOpacity="0.95"
            LoweredOpacity="0.45"
            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 https://github.com/iou90/SankeyDiagram/wiki/Supported-features

For upcoming features, please see https://github.com/iou90/SankeyDiagram/wiki/What-features-are-being-developed

Demo applications included in the source project. <br /> <br /> <br />Contact: iou90@outlook.com

Product Versions
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
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 465 6/29/2020