Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

syncfusion-blazor-diagram同步融合 Blazor 图

Agent Skill

syncfusion-blazor-diagram 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,004

周安装

41

GitHub Stars

公开资料未说明

下载量

321
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-blazor-diagram(同步融合 Blazor 图)
来源仓库:https://github.com/syncfusion/blazor-ui-components-skills
仓库路径:skills/syncfusion-blazor-diagram
安装命令:
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-diagram
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-diagram

简介

流程图与拓扑图绘制组件,支持节点拖拽和连线编辑。syncfusion-blazor-diagram 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适用于系统设计、业务流程建模或网络架构可视化场景。
  • 提供 JSON 序列化接口,便于保存和恢复绘图状态。
  • 复杂图形渲染消耗较高 CPU 资源,建议限制同时打开的编辑窗口数。
  • 协作编辑时需解决冲突合并问题,可采用 OT 或 CRDT 算法。

SKILL.md

Implementing Syncfusion Blazor Diagram

A comprehensive skill for building interactive diagrams with the Syncfusion Blazor Diagram component — flowcharts, organizational charts, mind maps, BPMN process diagrams, UML sequence diagrams, network diagrams, and more.

When to Use This Skill

Use this skill when you need to:

  • Create flowcharts, org charts, mind maps, or network diagrams in Blazor
  • Work with SfDiagramComponent, nodes, connectors, or shapes
  • Configure automatic layouts (hierarchical, radial, mind map, org chart, flowchart)
  • Implement BPMN process diagrams with BPMN shapes
  • Build swimlane diagrams for process modeling
  • Add symbol palettes for drag-and-drop diagram building
  • Bind diagram data from a collection or remote source
  • Implement diagram interactions (selection, drag, resize, zoom, pan)
  • Export diagrams to PNG/JPEG/SVG or print them
  • Serialize and restore diagram state (save/load)
  • Enable collaborative real-time editing
  • Add UML sequence diagrams
  • Handle diagram events, annotations, and ports

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.

Quick Start

@using Syncfusion.Blazor.Diagram

<SfDiagramComponent Width="100%" Height="600px" Nodes="@nodes" Connectors="@connectors" />

@code {
    DiagramObjectCollection<Node> nodes = new DiagramObjectCollection<Node>
    {
        new Node
        {
            ID = "node1", OffsetX = 150, OffsetY = 150,
            Width = 100, Height = 50,
            Style = new ShapeStyle { Fill = "#6BA5D7", StrokeColor = "white" },
            Annotations = new DiagramObjectCollection<ShapeAnnotation>
            {
                new ShapeAnnotation { Content = "Start" }
            }
        }
    };
    DiagramObjectCollection<Connector> connectors = new DiagramObjectCollection<Connector>
    {
        new Connector { ID = "conn1", SourceID = "node1", TargetID = "node2" }
    };
}

Common Patterns

GoalReference
First diagram setupreferences/getting-started.md
Add/configure nodesreferences/nodes.md
Add/configure connectorsreferences/connectors.md
Use built-in shapesreferences/shapes.md
Add text labelsreferences/annotations.md
Define connection pointsreferences/ports.md
Org charts / auto-layoutreferences/layout.md
Swimlane diagramsreferences/swimlane.md
BPMN process diagramsreferences/bpmn.md
Drag-and-drop palettereferences/symbol-palette.md
Bind data to diagramreferences/data-binding.md
Selection, drag, zoomreferences/interaction.md
Handle diagram eventsreferences/events.md
Save and load diagramsreferences/serialization.md
Export / printreferences/export-print.md
CSS / theme stylingreferences/styling.md
UML sequence diagramsreferences/uml-sequence.md
Real-time collaborationreferences/collaborative-editing.md
Context menu, tooltips, rulers, localizationreferences/advanced-features.md
Miniature overview / bird's-eye navigationreferences/overview-component.md

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • NuGet package installation (Syncfusion.Blazor.Diagram)
  • Service registration and namespace imports
  • Setup for Blazor Server, WebAssembly, MAUI
  • CSS/theme configuration
  • Minimal working diagram example

Nodes

📄 Read: references/nodes.md

  • Creating and configuring nodes
  • Node types: basic, flow shape, path, image, HTML, native
  • Node positioning, sizing, z-order
  • Node style (fill, stroke, opacity)
  • Expand/collapse children
  • Node events and interaction

Connectors

📄 Read: references/connectors.md

  • Creating connectors between nodes or free-floating
  • Segment types: straight, orthogonal, bezier
  • Multiple segments per connector
  • Arrows, line style, and decoration
  • Connector interaction (bend, drag endpoints)
  • Connector events

Shapes

📄 Read: references/shapes.md

  • Built-in basic shapes (rectangle, ellipse, triangle, etc.)
  • Flow shapes (process, decision, terminator, etc.)
  • Path shapes (custom SVG paths)
  • Image and HTML content shapes
  • Native SVG shapes
  • Choosing the right shape type

Annotations

📄 Read: references/annotations.md

  • Adding text labels to nodes and connectors
  • Annotation positioning and alignment
  • Font, color, and style customization
  • Inline editing of annotations
  • Multiple annotations per element
  • Annotation interaction events

Ports

📄 Read: references/ports.md

  • Connection ports (fixed connection points on nodes)
  • Dynamic ports (created at runtime)
  • Port positioning (relative and absolute)
  • Port appearance and visibility
  • Restricting connections to specific ports

Layout

📄 Read: references/layout.md

  • Automatic layout overview and when to use each type
  • Hierarchical tree layout (top-down, left-right)
  • Organizational chart layout
  • Mind map layout
  • Radial tree layout
  • Flowchart layout
  • Force-directed tree layout
  • Complex hierarchical layout
  • Layout spacing, margin, and orientation settings
  • Layout events and callbacks

Swimlane

📄 Read: references/swimlane.md

  • Creating swimlane diagrams
  • Adding lanes and configuring lane properties
  • Phase configuration (vertical/horizontal phases)
  • Swimlane symbol palette integration
  • Swimlane interactions
<SfDiagramComponent Height="600px" Swimlanes="@swimlanes" />

@code {
    DiagramObjectCollection<Swimlane> swimlanes = new();

    protected override void OnInitialized()
    {
        swimlanes.Add(new Swimlane
        {
            ID = "swimlane1",
            OffsetX = 400, OffsetY = 300,
            Width = 600, Height = 200,
            Lanes = new DiagramObjectCollection<Lane>()
            {
                new Lane(){
                Height = 100,
                Header = new SwimlaneHeader(){
                    Width = 30,
                    Annotation = new ShapeAnnotation(){ Content = "Consumer" }
                },
                Children = new DiagramObjectCollection<Node>()
                {
                    new Node(){Height = 50, Width = 50, LaneOffsetX = 250, LaneOffsetY = 30},
                }
                },
            }
        });
    }
}

BPMN

📄 Read: references/bpmn.md

  • BPMN shape types (events, activities, gateways, data)
  • BPMN event types (start, end, intermediate, boundary)
  • BPMN activity types (task, subprocess, call activity)
  • BPMN gateway types (exclusive, parallel, inclusive, etc.)
  • BPMN connectors (sequence flow, message flow, association)
  • Data objects and data stores
  • Expanded sub-process
  • BPMN text annotation
// Exclusive gateway (XOR)
nodes.Add(new Node
{
    ID = "gateway1", OffsetX = 300, OffsetY = 200, Width = 50, Height = 50,
    Shape = new BpmnGateway
    {
        GatewayType = BpmnGatewayType.Exclusive
    }
});

Symbol Palette

📄 Read: references/symbol-palette.md

  • Setting up SfSymbolPaletteComponent
  • Defining palette groups and symbols
  • Custom symbols and stencils
  • Drag-and-drop from palette to diagram
  • Palette search and customization

Data Binding

📄 Read: references/data-binding.md

  • Binding diagram from a flat list or IEnumerable
  • Hierarchical data binding (parent-child relationships)
  • Remote data source integration
  • CRUD operations on bound data
  • Mapping data fields to node/connector properties

Interaction & Commands

📄 Read: references/interaction.md

  • Selection modes (single, multiple, rubber-band)
  • Drag, resize, and rotate elements
  • Zoom and pan (mouse wheel, toolbar, programmatic)
  • BringIntoView(DiagramRect) — scroll viewport to show a region
  • BringIntoCenter(DiagramRect) — scroll viewport to center a region
  • FitToPage(FitOptions?) — fit content to viewport (sync; FitMode.Width/Height/Both, DiagramRegion.Content/PageSettings)
  • Nudge(Direction, int?) — move selected elements by pixels; default 1px; Direction.Top/Bottom/Left/Right
  • Z-Order: BringToFront(), BringForward(), SendBackward(), SendToBack() — must Select() first
  • Keyboard shortcuts (built-in table) and CommandManager (custom/override shortcuts via child component)
  • CommandManager uses KeyboardCommand + KeyGesture (DiagramKeys + ModifierKeys) + CommandKeyArgs
  • Snapping to grid or objects
  • Alignment, spacing, and sizing commands (SetAlign, SetDistribute, SetSameSize — all sync)
  • User handles (custom action buttons on selection)
  • Undo/redo (Undo(), Redo() — sync)

Events

📄 Read: references/events.md

  • Diagram-level events (Created, Click, Drop)
  • Node events (NodeCreating, PositionChanged, SizeChanged)
  • Connector events (ConnectionChanged, SegmentChanged)
  • Selection events (SelectionChanged)
  • History change events (HistoryChanged for undo/redo)
  • Event argument types and usage patterns

Serialization

📄 Read: references/serialization.md

  • Saving diagram state as JSON string
  • Loading a diagram from saved JSON
  • Custom serialization properties
  • Partial diagram save and restore patterns

Export & Print

📄 Read: references/export-print.md

  • Exporting to PNG, JPEG, SVG formats
  • Export region options (diagram, page, content)
  • Scale and margin settings
  • Print configuration
  • Custom page size and orientation
  • Fit diagram to single page on print

Styling

📄 Read: references/styling.md

  • CSS class customization (CssClass property)
  • Built-in themes (Material, Bootstrap, Fluent, Tailwind)
  • Node and connector style properties
  • Selection and hover styles
  • Theme Studio customization
  • CSS variable overrides

UML Sequence Diagrams

📄 Read: references/uml-sequence.md

  • UML sequence diagram setup
  • Lifelines and activation boxes
  • Message types (synchronous, asynchronous, return, create, destroy)
  • UML interaction shapes and connectors

Collaborative Editing

📄 Read: references/collaborative-editing.md

  • Setting up real-time collaborative diagram editing
  • SignalR hub configuration
  • Blazor Server and WASM app integration
  • Handling real-time sync and conflict resolution

Overview Component

📄 Read: references/overview-component.md

  • Adding SfDiagramOverviewComponent as a miniature thumbnail panel
  • Linking the overview to the main diagram via SourceID / ID
  • Controlling panel size with Width and Height
  • Zoom and pan interactions (drag, resize, click, draw-region)
  • Enabling or disabling interactions with DiagramOverviewConstraints
  • Required @using Syncfusion.Blazor.Diagram.Overview namespace.
@using Syncfusion.Blazor.Diagram
@using Syncfusion.Blazor.Diagram.Overview
@using System.Collections.ObjectModel

<SfDiagramComponent ID="element"
                    Width="100%"
                    Height="500px">
</SfDiagramComponent>

<!-- Overview panel linked to the diagram above -->
<SfDiagramOverviewComponent Height="150px" SourceID="element" />

Advanced Features

📄 Read: references/advanced-features.md

  • Context menu (built-in and custom items)
  • Tooltips for nodes, connectors, ports, user handles
  • Gridlines and rulers
  • Scroll settings and page settings
  • Container and group nodes
  • Flip (horizontal/vertical)
  • Constraints (restricting behavior per element)
  • Localization (static text translation)
  • Accessibility (WCAG 2.1, keyboard navigation)
  • Migration from classic to native diagram

Common Mistakes

Annotation Editing

⚠️ AllowEditing does NOT exist on ShapeAnnotation or PathAnnotation. Inline editing is on by default — no property is needed to enable it. To disable editing, set Constraints = AnnotationConstraints.ReadOnly: ``csharp // ❌ Wrong — CS0117: AllowEditing does not exist new ShapeAnnotation { Content = "Label", AllowEditing = false } // ✅ Correct — use AnnotationConstraints.ReadOnly to disable editing new ShapeAnnotation { Content = "Label", Constraints = AnnotationConstraints.ReadOnly } ``

EndUpdateAsync Method

⚠️ Always use EndUpdateAsync() (async) — EndUpdate() (sync, non-async) does NOT exist and will cause a compile error. Use BeginUpdate()/EndUpdateAsync() when changing multiple properties at once — await is required: ``csharp // ❌ Wrong — EndUpdate() does not exist diagram.BeginUpdate(); // ... changes ... diagram.EndUpdate(); // ✅ Correct — EndUpdateAsync is async diagram.BeginUpdate(); // ... changes ... await diagram.EndUpdateAsync(); ``

Click Event

⚠️ ClickEventArgs name collision: If your page also uses @using Syncfusion.Blazor.Navigations (or Buttons), ClickEventArgs becomes ambiguous. Always qualify it: ``csharp // ✅ Use the fully qualified type in the handler signature private void OnClick(Syncfusion.Blazor.Diagram.ClickEventArgs args) { } ``
⚠️ args.Count is NOT an int field — it is a method that returns an int. Do NOT compare it directly with == inline without storing the result first: ``csharp // ❌ Wrong — CS0019: Operator '==' cannot be applied to operands of type 'method group' and 'int' if (args.Count == 2) // ✅ Correct — store result then compare int clickCount = args.Count; if (clickCount == 2) { /* double-click */ } ``

SizeChanged Event

⚠️ SizeChangedEventArgs.Element is typed as DiagramSelectionSettings, not Node. Pattern-matching args.Element is Node n always fails with CS8121. Cast to DiagramSelectionSettings and read .Nodes[0] to get the resized node: ``csharp // ❌ Wrong — CS8121: DiagramSelectionSettings cannot match Node if (args.Element is Node n) { } // ✅ Correct — Element is DiagramSelectionSettings if (args.Element is DiagramSelectionSettings sel && sel.Nodes.Count > 0) { var node = sel.Nodes[0]; double w = args.NewValue.Width; double h = args.NewValue.Height; } ``
⚠️ args.NewValue.Width and args.NewValue.Height are plain double, not double?. Using ?? on them causes CS0019. Assign them directly: ``csharp // ❌ Wrong — CS0019 double w = args.NewValue.Width ?? 0; // ✅ Correct double w = args.NewValue.Width; ``

Selection Changed Event

⚠️ SelectionChangedEventArgs name collision: If your page also uses @using Syncfusion.Blazor.Buttons (or other Syncfusion packages), SelectionChangedEventArgs becomes ambiguous. Always qualify it: ``csharp // ✅ Fully qualified private void OnSelectionChanged(Syncfusion.Blazor.Diagram.SelectionChangedEventArgs args) { } ``
⚠️ args.NewValue is a DiagramSelectionSettings object — NOT a Node, NOT a collection: - Pattern-matching args.NewValue is Node always fails with CS8121 - Iterating args.NewValue as a collection fails — it is a single settings object - The only correct approach is to read _diagram.SelectionSettings.Nodes / .Connectors: ``csharp // ❌ Wrong — CS8121: DiagramSelectionSettings cannot match Node if (args.NewValue is Node n) { } // ❌ Wrong — DiagramSelectionSettings is not IEnumerable foreach (var item in args.NewValue) { } // ✅ Correct — use SelectionSettings on the diagram reference foreach (var node in _diagram.SelectionSettings.Nodes) Console.WriteLine(node.ID); foreach (var conn in _diagram.SelectionSettings.Connectors) Console.WriteLine(conn.ID); ``

Text Changed Event

⚠️ TextChangedEventArgs does NOT exist — using it causes CS0246. The correct event args type is TextChangeEventArgs (no d): ``csharp // ❌ Wrong — CS0246: TextChangedEventArgs not found private void OnTextChanged(TextChangedEventArgs args) { } // ✅ Correct private void OnTextChanged(TextChangeEventArgs args) { } ``

Drag Start Event

⚠️ DragStartEventArgs is ambiguous when Syncfusion.Blazor.Popups (or other packages that expose DragStartEventArgs) is also referenced. Always qualify it as Syncfusion.Blazor.Diagram.DragStartEventArgs: ``csharp // ❌ Wrong — CS0104: ambiguous reference between Diagram and Popups private void OnDragStart(DragStartEventArgs args) { } // ✅ Correct — fully qualified private void OnDragStart(Syncfusion.Blazor.Diagram.DragStartEventArgs args) { } ``
⚠️ DragEnterEventArgs does NOT exist in Syncfusion.Blazor.Diagram. There is no DragEnter event on SfDiagramComponent that receives a DragEnterEventArgs. The available drag events on SfDiagramComponent are: DragStart, Dragging, DragLeave, DragDrop — all for SymbolPalette drag-and-drop only. For tracking when a node is being moved (internal drag), use PositionChanged: ``csharp // ❌ Wrong — DragEnterEventArgs does not exist private void OnDragEnter(DragEnterEventArgs args) { } // ❌ Wrong — OnPositionChange does not exist on SfDiagramComponent <SfDiagramComponent OnPositionChange="OnPositionChange" /> // ✅ Correct — use PositionChanged <SfDiagramComponent PositionChanged="OnPositionChanged" /> private void OnPositionChanged(PositionChangedEventArgs args) { if (args.Element is Node n) Console.WriteLine($"Node {n.ID} moved to ({n.OffsetX}, {n.OffsetY})"); } ``

Snap Distance

⚠️ SnapObjectDistance does NOT exist on SnapSettings — using it causes InvalidOperationException: does not have a property matching the name 'SnapObjectDistance'. The correct property name is SnapDistance: ``razor @* ❌ Wrong — SnapObjectDistance does not exist *@ <SnapSettings SnapObjectDistance="5" /> @* ✅ Correct *@ <SnapSettings Constraints="SnapConstraints.SnapToObject" SnapDistance="5" /> ``

Styling

⚠️ CssClass does NOT exist on SfDiagramComponent — using it causes InvalidOperationException: Object of type 'SfDiagramComponent' does not have a property matching the name 'CssClass'. Wrap the component in a <div> with a scoping class instead: ``razor @* ❌ Wrong — CssClass does not exist on SfDiagramComponent *@ <SfDiagramComponent CssClass="my-diagram" /> @* ✅ Correct — use a wrapper div *@ <div class="my-diagram"> <SfDiagramComponent ... /> </div> ``

Phase Offset Property

⚠️ Phase.Offset does NOT exist — using it causes a compile error. Use Phase.Width to set the size of a phase in a swimlane: ``csharp // ❌ Wrong — Offset does not exist on Phase new Phase { ID = "ph1", Offset = 220 } // ✅ Correct — use Width new Phase { ID = "ph1", Width = 220 } ``

Lane Constraints Property

⚠️ Lane.Constraints does NOT exist and LaneConstraints enum does NOT exist. Individual lanes cannot have constraints set via a Constraints property. To restrict swimlane-level interactions, use SwimlaneConstraints on the Swimlane object itself: ``csharp // ❌ Wrong — Lane.Constraints and LaneConstraints do not exist lane.Constraints = LaneConstraints.Default & ~LaneConstraints.ResizeEntries; // ✅ Correct — set constraints on the Swimlane object swimlane.Constraints = SwimlaneConstraints.Default & ~SwimlaneConstraints.Interaction; ``

FitMode.Page Value

⚠️ FitMode.Page does NOT exist — using it causes CS0117. The correct values for FitMode are FitMode.Width and FitMode.Height: ``csharp // ❌ Wrong — FitMode.Page does not exist new FitOptions { Mode = FitMode.Page } // ✅ Correct — use FitMode.Width or FitMode.Height new FitOptions { Mode = FitMode.Width, Region = DiagramRegion.Content } ``

LoadDiagram Method

⚠️ SfDiagramComponent.LoadDiagram() does NOT exist — using it causes a compile error. Use the async version LoadDiagramAsync() instead: ``csharp // ❌ Wrong — LoadDiagram() does not exist diagram.LoadDiagram(savedJson); // ✅ Correct — use LoadDiagramAsync await diagram.LoadDiagramAsync(savedJson); ``

FitToPageAsync Method

⚠️ SfDiagramComponent.FitToPageAsync() does NOT exist — using it causes a compile error. Use the non-async overload FitToPage() instead: ``csharp // ❌ Wrong — FitToPageAsync does not exist await diagram.FitToPageAsync(new FitOptions { Mode = FitMode.Width }); // ✅ Correct — use FitToPage (synchronous) diagram.FitToPage(new FitOptions { Mode = FitMode.Width, Region = DiagramRegion.Content }); ``

BasicShapes Enum

⚠️ BasicShapes does NOT exist — use NodeBasicShapes instead: ``csharp // ❌ Wrong new BasicShape { Shape = BasicShapes.Rectangle } // ✅ Correct new BasicShape { Shape = NodeBasicShapes.Rectangle } ``

DiagramThickness Constructor

⚠️ DiagramThickness does NOT have a 4-argument constructor — using it causes CS1729: does not contain a constructor that takes 4 arguments. Use the object initializer syntax with named properties instead: ``csharp // ❌ Wrong — CS1729: no 4-argument constructor new DiagramThickness(20, 50, 20, 20) // ✅ Correct — use object initializer with named properties new DiagramThickness { Left = 20, Top = 50, Right = 20, Bottom = 20 } // ✅ Correct — set only the sides you need new DiagramThickness { Top = 50 } ``

ScrollSettings EnableAutoScroll Property

⚠️ CanAutoScroll does NOT exist on ScrollSettings — using it causes InvalidOperationException: does not have a property matching the name 'CanAutoScroll'. The correct property name is EnableAutoScroll: ``razor @* ❌ Wrong — CanAutoScroll does not exist *@ <ScrollSettings CanAutoScroll="true" /> @* ✅ Correct *@ <ScrollSettings EnableAutoScroll="true" /> ``

Zoom, Undo, and Redo Methods

⚠️ ZoomAsync(), UndoAsync(), and RedoAsync() do NOT exist — using them causes a compile error. Use the non-async overloads Zoom(), Undo(), and Redo() instead: ``csharp // ❌ Wrong — ZoomAsync, UndoAsync, RedoAsync do not exist await _diagram.ZoomAsync(1.2, new DiagramPoint { X = 300, Y = 300 }); await _diagram.UndoAsync(); await _diagram.RedoAsync(); // ✅ Correct — use non-async overloads _diagram.Zoom(1.2, new DiagramPoint { X = 300, Y = 300 }); _diagram.Undo(); _diagram.Redo(); ``

Overview Component Namespace

⚠️ SfDiagramOverviewComponent requires an additional @using — it lives in Syncfusion.Blazor.Diagram.Overview, NOT in Syncfusion.Blazor.Diagram. Forgetting it causes CS0246: ``razor @* ❌ Wrong — SfDiagramOverviewComponent not found without the Overview namespace *@ @using Syncfusion.Blazor.Diagram @* ✅ Correct — both namespaces required *@ @using Syncfusion.Blazor.Diagram @using Syncfusion.Blazor.Diagram.Overview ``
⚠️ SourceID must exactly match the ID set on SfDiagramComponent — the ID is NOT auto-generated; you must set it explicitly. A mismatch (including case) renders the overview empty: ``razor @* ❌ Wrong — ID not set on the diagram; SourceID has nothing to link to *@ <SfDiagramComponent Width="100%" Height="500px" Nodes="@_nodes" /> <SfDiagramOverviewComponent SourceID="myDiagram" Height="150px" /> @* ✅ Correct — ID set on diagram, SourceID matches exactly *@ <SfDiagramComponent ID="myDiagram" Width="100%" Height="500px" Nodes="@_nodes" /> <SfDiagramOverviewComponent SourceID="myDiagram" Height="150px" /> ``
⚠️ Do NOT nest SfDiagramOverviewComponent inside SfDiagramComponent — the overview is a sibling component rendered outside the diagram markup.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.29%
按下载量换算123

Claude

27.59%
按下载量换算89

Cursor

18.56%
按下载量换算60

Gemini CLI

10.5%
按下载量换算34

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-diagram 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills