Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Vue Sankey Diagram is a flow based visualization that represents values proportionally, emphasizing the movement or transfer between different stages of a process. It is a reliable solution for illustrating complex systems, energy distributions, or any workflow involving transfers between stages.


Why choose the Syncfusion Vue Sankey Diagram?

Vue Sankey Interactive image

Interactive Sankey Diagram

The tooltip cursor enables users to interact with the Sankey Diagram and access detailed information about nodes and links.

Vue Sankey Rich Feature Set image

Rich feature set

The Vue Sankey Diagram supports legends, orientations, labels, titles, themes, events, customizable nodes and links, as well as printing and exporting capabilities.

Vue Sankey Adapts To Any Resolution image

Adapts to any resolution

The Sankey Diagram features a highly responsive layout with an optimized design for desktops, touchscreens, and mobile devices. It works seamlessly across iOS, Android, and Windows platforms.

Vue Sankey Customizable Themes image

Attractive, customizable themes

Offers modern and visually appealing designs with multiple built in themes, including Material 3, Fluent 2, Tailwind CSS, Bootstrap, Material, and Fabric.

Vue Sankey Elegant Animation image

Elegant animation

The Sankey Diagram delivers smooth animations to present data with fluid transitions.


Vue Sankey Diagram code example

Get started quickly with the Vue Sankey Diagram using just a few lines of Vue code, as shown below. You can also explore our Vue Sankey Diagram example to learn how to render and configure the component.

<template>
  <div id="app">
    <ejs-sankey
      id="sankey"
      title="Device Usage"
      :nodeStyle="nodeStyle"
      :linkStyle="linkStyle"
      :legendSettings="legendSettings">

      <e-sankey-nodes>
          <e-sankey-node id="Female" :label="{ text: 'Female (58%)' }" />
          <e-sankey-node id="Male" :label="{ text: 'Male (42%)' }" />
          <e-sankey-node id="Tablet" :label="{ text: 'Tablet (12%)' }" />
          <e-sankey-node id="Mobile" :label="{ text: 'Mobile (40%)' }" />
          <e-sankey-node id="Desktop" :label="{ text: 'Desktop (48%)' }" />
          <e-sankey-node id="< 18" :label="{ text: '< 18 years (8%)' }" />
          <e-sankey-node id="18-26" :label="{ text: '18-26 years (35%)' }" />
          <e-sankey-node id="27-40" :label="{ text: '27-40 years (38%)' }" />
          <e-sankey-node id="> 40" :label="{ text: '> 40 years (19%)' }" />
      </e-sankey-nodes>

      <e-sankey-links>
          <e-sankey-link source-id="Female" target-id="Tablet" :value="12" />
          <e-sankey-link source-id="Female" target-id="Mobile" :value="14" />
          <e-sankey-link source-id="Female" target-id="Desktop" :value="32" />
          <e-sankey-link source-id="Male" target-id="Mobile" :value="26" />
          <e-sankey-link source-id="Male" target-id="Desktop" :value="16" />
          <e-sankey-link source-id="Tablet" target-id="< 18" :value="4" />
          <e-sankey-link source-id="Tablet" target-id="> 40" :value="8" />
          <e-sankey-link source-id="Mobile" target-id="< 18" :value="4" />
          <e-sankey-link source-id="Mobile" target-id="18-26" :value="24" />
          <e-sankey-link source-id="Mobile" target-id="27-40" :value="10" />
          <e-sankey-link source-id="Mobile" target-id="> 40" :value="2" />
          <e-sankey-link source-id="Desktop" target-id="18-26" :value="11" />
          <e-sankey-link source-id="Desktop" target-id="27-40" :value="28" />
          <e-sankey-link source-id="Desktop" target-id="> 40" :value="9" />
      </e-sankey-links>

    </ejs-sankey>
  </div>
</template>

<script>

import Vue from 'vue';
import {
  SankeyPlugin,
  SankeyComponent,
  SankeyNodesCollectionDirective,
  SankeyNodeDirective,
  SankeyLinksCollectionDirective,
  SankeyLinkDirective,
  SankeyLegend
} from '@syncfusion/ej2-vue-charts';

Vue.use(SankeyPlugin);

export default {
  components: {
    'ejs-sankey': SankeyComponent,
    'e-sankey-nodes': SankeyNodesCollectionDirective,
    'e-sankey-node': SankeyNodeDirective,
    'e-sankey-links': SankeyLinksCollectionDirective,
    'e-sankey-link': SankeyLinkDirective
  },
  provide: {
    sankey: [SankeyLegend]
  },
  data() {
    return {
      nodeStyle: { width: 30, padding: 10 },
      linkStyle: { colorType: 'Source' },
      legendSettings: { visible: true, position: 'Bottom' }
    };
  }
};
</script>

Legend in Vue Sankey Diagram.

Legend

The Vue Sankey Diagram offers configurable legends that give extra context about nodes. When you hover over a legend item, the related data flow links are visually emphasized.


Tooltips

The Sankey Diagram provides tooltip support to display details about node and link values when the pointer moves over them.

Tooltip in Vue Sankey Diagram.


Print and export in Vue Sankey Diagram.

You can export the Vue Sankey Diagram on the client side as a PDF or image formats like PNG and JPEG. The diagram can also be printed directly from the browser.


Orientation

The Sankey Diagram supports both horizontal and vertical orientations, allowing adaptable visualization based on data structure and flow needs.

Orientations in Vue Sankey Diagram.


Node labels in Vue Sankey Diagram.

Node labels

The Sankey Diagram includes label support for nodes, helping to annotate details and enhance clarity and readability.


Customization

The Sankey Diagram includes built-in APIs for customizing node width and adjusting the colors of nodes, links, and labels, enabling alignment with your design requirements.

Customization in Vue Sankey Diagram.


Accessibility

Keyboard navigation in Vue Sankey Diagram.

Keyboard navigation

All elements in the Sankey Diagram are fully accessible via keyboard, with key features such as legend highlighting operable using keyboard commands alone. No mouse interaction is required, ensuring an inclusive user experience.

Accessibility and screen reader support in Vue Sankey Diagram.

Screen readers

The Sankey Diagram offers complete WAI ARIA accessibility support, ensuring compatibility with assistive technologies such as screen readers. Its interface includes high contrast visual elements for users with low vision, and valid UI descriptions are easily accessible to further enhance usability.

Show right-to-left language in Vue Sankey Diagram.

Right to left (RTL)

Right to left rendering displays the Sankey Diagram’s text and layout from right to left, improving usability and accessibility for users who work with RTL languages.




145+ VUE UI COMPONENTS

Frequently Asked Questions

With the Syncfusion Vue Sankey Diagram component, you can:

  • Visualize and analyze complex flow systems with nodes and links.
  • Implement one of the best Vue Sankey Diagram components on the market.
  • Enjoy simple configuration and APIs.
  • Deploy confidently to all modern browsers.
  • Implement a touch-friendly and responsive component.
  • Take advantage of expansive learning resources such as demos and documentation to get started quickly.

You can find our Vue Sankey Diagram demo here, which demonstrates how to render and configure the component.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories


Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Up arrow icon