syncfusion-angular-diagram
Build and configure Syncfusion EJ2 Angular Diagram for flowcharts, org charts, process diagrams, and data-visualization. Trigger when users ask to create nodes/connectors, apply layouts, swimlane, use BPMN/UML shapes, or add interactivity like drag-drop, zoom/pan, snapping, editing, and symbol palettes.
What this skill does
# Implementing Syncfusion Angular Diagrams ## When to Use This Skill Use this skill when you need to: - **Create visual diagrams** (flowcharts, org-charts, BPMN, UML) - **Build interactive diagrams** with nodes and connectors - **Apply layouts** (hierarchical, org-chart, mindmap, radial, flowchart) - **Design BPMN or UML** diagrams for business processes - **Add interaction** (drag, resize, selection, undo/redo) - **Export or serialize** diagrams to JSON/images ## Important: API Verification Required **API Verification Required**: Always verify API class names, properties, and signatures by reading reference files (`references/*.md`) BEFORE generating code examples. Do not assume or infer class names. โ ๏ธ Before writing ANY code, review the **Common Mistakes** section directly below to avoid known invalid APIs and properties. ## Component Overview The **Syncfusion Angular Diagram component** provides a visual canvas for creating and editing diagrams: ### Core Concepts 1. **Nodes** - Rectangles, circles, flowchart shapes, custom shapes 2. **Connectors** - Lines linking nodes (Straight, Orthogonal, Bezier) 3. **Labels** - Text annotations on nodes and connectors 4. **Ports** - Connection points on node boundaries 5. **Swimlanes** - Horizontal/vertical lanes for process diagrams 6. **Layouts** - Automatic positioning (hierarchical, org-chart, mindmap, etc.) 7. **BPMN Shapes** - Business process diagram standardized shapes 8. **UML Diagrams** - Class and sequence diagram notation 9. **Symbol Palette** - Draggable symbol library 10. **Data Binding** - Render diagrams from JSON data ### Key Features - **Interactive editing:** Drag, resize, rotate nodes and connectors - **Auto-layout:** Hierarchical, org-chart, mindmap, radial, flowchart layouts - **BPMN & UML:** Built-in shape libraries for standard diagrams - **Serialization:** Save/load diagrams as JSON - **Export:** PNG, SVG, PDF image export and print - **Undo/Redo:** Full history support - **Virtualization:** Render large diagrams efficiently - **Accessibility:** WCAG 2.1 compliance with keyboard navigation ## Documentation and Navigation Guide Start with **Getting Started**, then jump to the specific feature you need: ### Core Diagram Building ๐ **Read:** [references/getting-started.md](references/getting-started.md) - Installation and dependencies - Theme setup (material, bootstrap, fabric) - CSS/SCSS imports - Basic DiagramComponent usage - Module injection pattern - Standalone component setup ๐ **Read:** [references/nodes.md](references/nodes.md) - Creating and adding nodes to diagram - Offsetting and positioning (offsetX, offsetY) - Node dimensions (width, height) - Built-in shapes (Flow, Basic, Path) - Custom styling (fill, stroke, opacity) - Node templates and appearance - Expand/collapse node groups - Node events (click, select, drag) - getNodeDefaults pattern for style defaults ๐ **Read:** [references/connectors.md](references/connectors.md) - Three connector types: Straight, Orthogonal, Bezier - Segments configuration and pathfinding - sourceID and targetID linking nodes - Multiple segments in connectors - Bezier control points and orientation - Connector customization (stroke, fill, dashing) - Connector events and interaction - getConnectorDefaults pattern for style defaults ### Labels, Ports & Styling ๐ **Read:** [references/labels-and-annotations.md](references/labels-and-annotations.md) - Adding annotations to nodes and connectors - Label appearance (font, color, bold, italic, alignment) - Positioning labels on connectors (start, end, center) - Node labels vs connector labels - Label interaction (edit mode, drag, resize) - Label events (edit, focus, blur) - Formatting with markdown or HTML ๐ **Read:** [references/ports.md](references/ports.md) - Port types and positioning on nodes - Appearance customization (shape, fill, size) - Connecting connectors to specific ports - Connection visibility and constraints - Port interaction and visibility - getPortDefaults pattern ๐ **Read:** [references/shapes-and-styles.md](references/shapes-and-styles.md) - Built-in shape types: Flow, Basic, Path, Image, HTML, Native SVG - Flow chart shapes (process, decision, start, end, etc.) - Style properties (fill, stroke, strokeWidth, dashArray, shadow) - CSS class and theme customization - Gradient and pattern fills ### Advanced Diagrams ๐ **Read:** [references/bpmn-diagrams.md](references/bpmn-diagrams.md) - BPMN module injection and setup - BPMN shapes overview and standard notation - Activities (task, subprocess, expanded subprocess, loop) - Events (start, end, intermediate catch/throw) - Gateways (exclusive, parallel, inclusive, complex) - Flows (sequence flow, message flow, association) - Data objects and data sources - Groups and text annotations - BPMN-specific styling and labels ๐ **Read:** [references/uml-diagrams.md](references/uml-diagrams.md) - UML class diagram shapes - Classifier shapes (class, interface, enumeration, package, component) - Class attributes, methods, visibility modifiers - UML relationships (association, generalization, aggregation, composition) - UML sequence diagrams - Lifelines, actors, messages (sync, async, return) - Interaction frames and combined fragments ### Layout & Structure ๐ **Read:** [references/layouts.md](references/layouts.md) - Hierarchical tree layout with top-down, bottom-up, left-right, right-left - Organizational chart layout - Mindmap layout (sub-trees, branches) - Radial tree layout - Flowchart layout with swimlanes - Complex hierarchical tree with extended nodes - Automatic layout configuration - Layout customization (orientation, spacing, margin) - Layout events and completion ๐ **Read:** [references/swimlanes.md](references/swimlanes.md) - Swimlane structure overview (header, children, phases) - Creating lanes and phases within swimlanes - Swimlane children positioning and constraints - Swimlane headers and labeling - Swimlane palette integration - Swimlane interaction (resize, move, add/remove children) ๐ **Read:** [references/groups-and-containers.md](references/groups-and-containers.md) - Grouping nodes together - Group operations (add/remove children, expand/collapse) - Container nodes with padding and layout - Child positioning within containers - Container constraints ### Interaction & Tools ๐ **Read:** [references/symbol-palette.md](references/symbol-palette.md) - SymbolPaletteComponent setup and integration - Defining palette symbols and categories - Drag and drop symbols to diagram - Palette customization (icons, search, categories, size) - Symbol palette events - Creating custom symbol libraries ๐ **Read:** [references/data-binding.md](references/data-binding.md) - DataManager and dataSourceSettings configuration - Mapping data to nodes (id, parentId, nodeTemplate) - Rendering organizational charts from JSON data - PostgreSQL data source integration - setNodeTemplate for data-driven node styling - Dynamic data updates and refresh ๐ **Read:** [references/interaction-and-tools.md](references/interaction-and-tools.md) - Node selection, drag, and resize interactions - Tool modes (pointer, draw, pan, pan-select) - Constraints (node constraints, connector constraints, diagram constraints) - Commands (keyboard shortcuts, custom commands) - Undo and Redo functionality - Context menu (right-click menu) - User handles (custom connection handles) ### Serialization & Export ๐ **Read:** [references/serialization-and-export.md](references/serialization-and-export.md) - saveDiagram and loadDiagram (JSON serialization) - Export to image formats (PNG, SVG, PDF) - Print diagram functionality - Visio file import (.vsdx) - EJ1 API migration serialization - Custom serialization handling ### Configuration & Settings ๐ **Read:** [references/diagram-settings.md](references/diagram-settings.md) - Layers (add, lock, visibility, ordering) - Virtualization (performance optimization for large diagrams) - Grid lines (snapping
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.