The Vue Diagram is a feature-rich architecture diagram library for visualizing, creating, and editing interactive diagrams. It supports creating flowcharts, organizational charts, mind maps, and BPMN charts either through code or a visual interface.
It provides all the standard flowchart shapes as ready-made objects to build flowcharts, making it is easy to add them to a diagram surface in a single call.
Arrange the parent and child node positions automatically with a built-in, automatic layout algorithm specifically made for organizational charts.
The automatic layout algorithm is also built for mind map diagrams. You can define which node should be at the center and which nodes should be placed around the center node in the diagram surface.
Visualize any graphical object using nodes, which can be arranged and manipulated at the same time on a diagram page. They allow the following:
The Vue Diagram provides straight, orthogonal, polyline, and curved connector types. You can choose any of these based on the type of diagram or relationship between the connected nodes.
Use bridging (line jumps) to illustrate a connector’s route, making it easy to read where connectors overlap each other in a dense diagram.
Use different types of predefined arrowheads to illustrate flow direction in flowchart diagrams. You can also build your own custom arrowheads.
Like nodes, the connector look and feel can also be customized any way you want. It provides a rich set of properties through which you can customize connector color, thickness, dash and dot appearance, corners, and even decorators.
Attach connectors to specific places on a node through different types of ports or connecting points.
Additional information can be shown by adding text or labels on nodes and connectors.
You can add and edit text at runtime and mark it read-only if it should not be edited.
Add any number of labels and align them individually.
Labels include sophisticated alignment options: Place inside or outside a node, or at the source or target end of a connector. Automatically align when a node or connector moves.
Use interactive features to improve the editing experience of a diagram at runtime. Furthermore, you can easily edit a diagram with mouse, touchscreen, or keyboard interfaces.
Select one or more nodes, connectors, or annotations and edit them using thumbs or handlers.
You can resize a node in eight different directions and lock a node’s aspect ratios to keep its shape. You can also resize multiple objects at the same time.
Don’t worry when you edit by mistake—undo and redo commands help to easily correct recent changes.
Cut, copy, paste, or duplicate selected objects within and across diagrams.
When multiple objects overlap, the z-order controls which object is at the top and which is at the bottom.
Precisely align nodes, connectors, and annotations while dragging just by snapping to the nearest gridlines or objects.
You can combine multiple nodes into a group and then interact with them as a single object. Nested groups are also possible with our Vue Diagram component.
Frequently used commands like delete, connect, and duplicate can be shown as buttons near a selector. This makes it easy for users to perform those operations quickly instead of searching for the correct buttons in a toolbox.
Our Vue Diagram has predefined alignment commands that enable you to align the selected objects’ nodes and connectors with respect to the selection boundary.
Spacing commands enable you to place selected objects on the diagram at equal intervals from each other.
Use sizing commands to equally size selected nodes with respect to the first selected object.
All the nodes or connectors in the selection list can be aligned at the left, right, or center horizontally, or aligned at the top, bottom, or middle vertically with respect to the selection boundary.
Arrange nodes automatically based on a predefined layout algorithm. Features a built-in hierarchical tree, radial tree, and symmetric layouts.
Rulers allow you to measure the distance of nodes or connectors from the origin of the page. This is especially useful in creating scale models.
Diagram includes a gallery of stencils, reusable symbols, and nodes that can be dragged onto the surface of a diagram.
The overview panel allows you to improve the navigation experience when exploring large diagrams. It displays a small preview of the full diagram page that allows users to zoom and pan within it.
Draw all kinds of built-in nodes and connect them with connectors interactively by just clicking and dragging on the drawing area.
View a large diagram closely or assume a wider view by zooming in and out. Also, navigate from one region of a diagram to another by panning across the diagram.
Populate diagrams with nodes and connectors created and positioned based on data from data sources. Data in any format can be easily converted, mapped, and consumed in the diagram by setting a few properties, without having to write any code. It also supports loading data from a list or IEnumerable collection.
You can export a diagram to different image files such as PNG, JPEG, BMP, and SVG.
Print diagrams from the browser. You can also customize the page size, orientation, and page margin, and fit a diagram to a single page.
You can save your diagram state in JSON format and load it back later for further editing using the serializer.
In addition to all the features listed thus far, there are many more that enhance the diagramming experience.
Give a page-like appearance to the drawing surface using page size, orientation, and margins.
Easily map frequently used commands to the context menu.
Easily get started with the Vue Diagram using a few simple lines of Vue codes as demonstrated below. Also explore our Vue Diagram Example that shows you how to render and configure a Diagram in Vue.
<template>
<div id="app">
<ejs-diagram id="diagram" :width='width' :height='height'></ejs-diagram>
</div>
</template>
<script>
import Vue from 'vue';
import { DiagramPlugin } from '@syncfusion/ej2-vue-diagrams';
Vue.use(DiagramPlugin);
export default {
name: 'app'
data () {
return {
width: "100%",
height: "350px"
}
}
}
</script>
<style>
@import "../../node_modules/@syncfusion/ej2-vue-diagrams/styles/material.css";
</style>
The Diagram component is also available in Blazor, React, Angular, and JavaScript frameworks. Check out the different Diagram platforms from the links below,
The Syncfusion Vue Diagram component is used to visualize, create and interactive diagrams with the below features:
You can find our Vue Diagram demo here.
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 and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
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.