/syncfusion-vue:syncfusion-vue-diagramfrom Syncfusion Vue UI Components
Build interactive diagrams using Syncfusion Vue Diagram, including flowcharts, BPMN workflows, UML diagrams, Entity Relationship (ER) diagrams, swimlanes, and organizational charts. Trigger when working with Vue diagram components such as nodes, connectors, shapes, ports, labels, layouts, symbol palettes, serialization/deserialization with unsaved changes detection, Mermaid syntax support, data binding, interactive editing, and exporting diagrams for visualization and process flows.
Ships in Syncfusion Vue 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 Syncfusion Vue Diagram component enables you to create interactive, customizable diagrams for visualizing complex processes, organizational hierarchies, workflows, and data relationships. From simple flowcharts to advanced BPMN diagrams and UML representations, the Diagram component provides comprehensive tools for visual communication.
📄 Read: references/getting-started.md
📄 Read: references/nodes.md
📄 Read: references/connectors.md
📄 Read: references/labels-and-annotations.md
📄 Read: references/ports.md
📄 Read: references/shapes-and-styles.md
📄 Read: references/bpmn-diagrams.md
📄 Read: references/uml-diagrams.md
📄 Read: references/implementing-entity-relationship-diagrams.md
📄 Read: references/layouts.md
📄 Read: references/swimlanes.md
📄 Read: references/groups-and-containers.md
📄 Read: references/symbol-palette.md
📄 Read: references/data-binding.md
📄 Read: references/interaction-and-tools.md
📄 Read: references/serialization-and-export.md
exportDiagram (inject PrintAndExport)saveDiagramAsMermaid() and loadDiagramFromMermaid()isModified property for unsaved changes tracking📄 Read: references/diagram-settings.md
<template>
<div id="app">
<ejs-diagram
id="diagram"
:width="width"
:height="height"
:nodes="nodes"
:connectors="connectors"
:snapSettings="snapSettings"
></ejs-diagram>
</div>
</template>
<script>
import { DiagramComponent,SnapConstraints } from '@syncfusion/ej2-vue-diagrams';
export default {
name: "App",
components: {
"ejs-diagram": DiagramComponent
},
data() {
return {
width: "100%",
height: "590px",
nodes: [
{
id: 'node1',
width: 100,
height: 100,
offsetX: 250,
offsetY: 250,
style: { fill: '#6BA3D5' },
annotations: [{ content: 'Node 1' }]
},
{
id: 'node2',
width: 100,
height: 100,
offsetX: 450,
offsetY: 250,
style: { fill: '#6BA3D5' },
annotations: [{ content: 'Node 2' }]
}
],
connectors: [
{
id: 'connector1',
sourceID: 'node1',
targetID: 'node2',
type: 'Orthogonal'
}
],
snapSettings: {
constraints: SnapConstraints.None
}
}
}
}
</script>
<style>
@import '../node_modules/@syncfusion/ej2-vue-diagrams/styles/material.css';
</style>
⚠️ CRITICAL: Syncfusion Diagram works with both Vue 2 and Vue 3, but patterns differ significantly.
┌─ Do you have an existing Vue project?
│
├─ YES, it's Vue 3 (Vite, create-vue, etc.)
│ └─ Use: Composition API with <script setup>
│ ✅ Modern, performant, recommended
│ 📄 Read: getting-started.md (Vue 3 Composition API section)
│
├─ YES, it's Vue 2 (Vue CLI, legacy projects)
│ └─ Use: Options API with export default
│ ✅ Compatible, but consider migrating
│ 📄 Read: getting-started.md (Vue 2 section)
│
└─ NO, starting fresh
└─ Recommended: Vue 3 with Vite
✅ Fastest, most modern
📄 Read: getting-started.md (Vite + Vue 3 setup)
Vue 3 Composition API (Recommended):
import { ref } from 'vue';
import { DiagramComponent } from '@syncfusion/ej2-vue-diagrams';
const nodes = ref([...]); // ← Use ref()
Vue 2 Options API:
import { DiagramComponent } from '@syncfusion/ej2-vue-diagrams';
export default {
data() {
return {
nodes: [...] // ← Use data()
}
}
}
⚡ Pro Tip: If you're unsure, default to Vue 3 Composition API—it's the industry standard for new Syncfusion projects.
// Use hierarchical layout with nodes and connectors
const layout = {
type: 'HierarchicalTree',
orientation: 'TopToBottom',
horizontalSpacing: 50,
verticalSpacing: 50,
getLayoutInfo: (node, options) => {
// Customize layout per node
}
};
diagram.layout = layout;
diagram.doLayout();
// Render org chart from JSON data with DataManager
const dataSettings = {
id: 'id',
parentId: 'manager',
dataSource: new DataManager(employeeData)
};
diagram.dataSourceSettings = dataSettings;
// Handle node selection events
diagram.selectionChange = (args) => {
console.log('Selected:', args.newItems);
};
// In Vue: bind the selectionChange event and read newValue/oldValue
// <ejs-Diagram :selectionChange="onSelectionChange" ... />
const onSelectionChange = (args) => {
console.log('Selected:', args.newItems);
};
// Save state and export
const jsonData = diagram.saveDiagram();
localStorage.setItem('diagram', jsonData);
// Later: Load from storage
const saved = localStorage.getItem('diagram');
diagram.loadDiagram(saved);
// Export as PNG
diagram.export({ format: 'PNG', fileName: 'diagram' });
| Prop | Type | Purpose |
|---|---|---|
nodes | Array | Collection of diagram nodes |
connectors | Array | Collection of connectors linking nodes |
layout | Object | Automatic layout configuration |
dataSourceSettings | Object | Data binding and source configuration |
snapSettings | Object | Snap constraints and guidelines |
pageSettings | Object | Page size, orientation, margins |
scrollSettings | Object | Pan and scroll behavior |
constraints | Object | Diagram-level interaction constraints |
contextMenuSettings | Object | Right-click menu configuration |
undoRedoSettings | Object | Undo/redo behavior |
references/bpmn-diagrams.md (opens in a new tab)references/connectors.md (opens in a new tab)references/data-binding.md (opens in a new tab)references/diagram-settings.md (opens in a new tab)references/entity-relationship-diagrams.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/groups-and-containers.md (opens in a new tab)references/interaction-and-tools.md (opens in a new tab)references/labels-and-annotations.md (opens in a new tab)references/layouts.md (opens in a new tab)references/nodes.md (opens in a new tab)references/ports.md (opens in a new tab)references/serialization-and-export.md (opens in a new tab)references/shapes-and-styles.md (opens in a new tab)references/swimlanes.md (opens in a new tab)references/symbol-palette.md (opens in a new tab)references/uml-diagrams.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-vue49 skills in this plugin
/syncfusion-vue-3d-chartImplementing Syncfusion Vue 3D Chart component for interactive 3D data visualization. Use this skill ALWAYS when user needs to create 3D charts, visualize data in 3D columns/bars, customize 3D chart axes, configure 3D chart types, style 3D chart appearance, implement user interactions like tooltips and selection, or export/print 3D charts. Essential for displaying multidimensional data with rotation, perspective, and enhanced visual appeal./syncfusion-vue-3d-circular-chartCreate interactive 3D pie and donut charts using Syncfusion Vue components. Use this skill whenever the user needs to visualize data as circular/pie charts with 3D perspective, create donut visualizations, add data labels to charts, customize chart legends, tooltips, empty points and animations. Trigger when user mentions 3D charts, pie charts, donut charts, circular visualizations, 3D pie, data visualization, chart rotation, chart interactivity, or circular types./syncfusion-vue-accumulation-chartMaster Syncfusion Vue Accumulation Charts for building pie, doughnut, funnel, and pyramid visualizations. Always includes data binding, legend configuration, data labels, and accessibility features. Immediately implement any chart type, customize styling, configure legends, format data labels, and add drill-down interactivity using ALWAYS comprehensive examples and patterns./syncfusion-vue-ai-assistviewImplement the Syncfusion Vue AI AssistView component. Use this skill whenever the user needs to create conversational AI interfaces, chatbots, prompt-response systems, or integrate AI services like OpenAI, Gemini, or Claude into Vue applications. Includes setup, prompt management, suggestions, customization, event handling, templates, markdown responses, AI service integration, chain of thoughts visualization, generative UI with dynamic tools, text-to-speech audio conversion, telemetry tracking for AI metrics (duration, tokens, tool calls), and mentions in the prompt editor./syncfusion-vue-barcodeCreate and customize barcode, QR code, and Data Matrix components using Syncfusion Vue Barcode Generator. Use this skill when implementing barcode generation, QR code creation, Data Matrix codes, export functionality, and barcode styling. Covers Syncfusion's BarcodeGenerator, QRCodeGenerator, and DataMatrixGenerator components for Vue applications (Composition API and Options API)./syncfusion-vue-blockeditorImplement Syncfusion Vue BlockEditor component for block-based content editing with rich text, images, tables, and interactive blocks. Use this skill ALWAYS when user needs block editor, notion-style editor, content blocks, rich text blocks, document editor with blocks, modular content editor, or mentions @syncfusion/ej2-vue-blockeditor, BlockEditor, block-based editing, content management editor, collaborative editing, real-time collaboration. Covers all 14 block types, 5 content types, drag-and-drop, menus, methods, events, real-time collaborative editing with Yjs support, user presence and remote cursors, version history, and Composition API patterns.