Token导航 LogoToken导航

Agent Skill · 研究检索

syncfusion-winforms-treemap(同步融合 winforms 树形图)

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

syncfusion-winforms-treemap 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 48,806。

总安装 675周安装 29GitHub Stars 1下载 237核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-treemap

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适合根据关键词或任务场景快速定位候选结果。通过 npx skills add 命令从指定仓库安装并使用。安装前需确认权限范围和维护状态,避免触发联网或文件读写操作。syncfusion-winforms-treemap 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/syncfusion-winforms-treemap

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/winforms-ui-components-skills --ski…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-winforms-treemap 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfus…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-winforms-treemap 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-winforms-treemap 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

syncfusion-winforms-treemap 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-winforms-treemap 用的人多吗?

公开数据是累计安装 675 次,近一周安装 29 次,下载 237 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-winforms-treemap 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
syncfusion-winforms-treemap

同步融合 winforms 树形图 · 本页

6751需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Implementing Windows Forms TreeMap

Guide for implementing the Syncfusion® Windows Forms TreeMap control for visualizing hierarchical data through nested, color-coded rectangles. TreeMaps efficiently display large datasets where the size and color of rectangles represent quantitative values.

When to Use This Skill

Use this skill when you need to:

  • Visualize hierarchical data with nested rectangles
  • Display large datasets in space-efficient layouts
  • Show proportional relationships through rectangle sizes
  • Color-code data values with multiple mapping strategies
  • Implement TreeMap layouts (Squarified, SliceAndDice variations)
  • Create interactive visualizations with tooltips and legends
  • Customize TreeMap appearance with headers, labels, and custom rendering
  • Analyze categorical data like stock portfolios, disk usage, or sales by region

TreeMap Overview

Tree maps are ideal for visualizing large amounts of data where space is split into rectangles sized and colored based on quantitative variables. The levels in the hierarchy are visualized as rectangles containing other rectangles.

Key concepts:

  • Rectangles represent data items - Size based on weight value
  • Hierarchical nesting - Parent rectangles contain child rectangles
  • Color coding - Colors represent data categories or value ranges
  • Space efficiency - Entire visualization area is utilized
  • Multiple levels - Support for multi-level hierarchies

Common Use Cases

TreeMaps are used to represent large or complex data sets in various applications:

  1. Stock Market Analysis - Rectangle size represents stock weight in index, color shows gain/loss range
  2. Internet Usage Categories - Visualize usage across retail, social networks, search, etc.
  3. News Aggregation - Colors represent sections (business, politics), size represents story frequency
  4. Weather Analysis - Opacity represents humidity, size represents geographic area
  5. Disk Space Usage - Visualize file and folder sizes in storage
  6. Sales by Region/Product - Show sales distribution across categories
  7. Portfolio Management - Display asset allocation and performance

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Assembly deployment and control dependencies
  • NuGet package installation
  • Creating TreeMap control instance
  • Adding control to Windows Forms application
  • Basic namespace and assembly references
  • First working TreeMap example

Overview and Visualization Concepts

📄 Read: references/overview-and-use-cases.md

  • What TreeMaps are and how they work
  • Hierarchical information visualization
  • Clustered rectangles and data representation
  • Real-world use case scenarios
  • When to choose TreeMap over other visualizations

Core Configuration - Weight and Color Paths

📄 Read: references/weight-and-color-paths.md

  • WeightValuePath property for sizing rectangles
  • ColorValuePath property for color mapping
  • Data binding path requirements
  • Field specifications in data models
  • Configuration examples

Data Binding and Levels

📄 Read: references/items-source-and-levels.md

  • ItemsSource setup with flat data collections
  • Creating data view models
  • TreeMapFlatLevel configuration
  • GroupPath for hierarchical grouping
  • GroupGap for visual separation
  • Multi-level TreeMap structure
  • Complete data binding examples

Layout Modes

📄 Read: references/layout-modes.md

  • ItemsLayoutMode property overview
  • Squarified layout algorithm
  • SliceAndDiceAuto layout
  • SliceAndDiceHorizontal layout
  • SliceAndDiceVertical layout
  • Choosing the right layout for your data
  • Visual comparisons

Color Mapping Strategies

📄 Read: references/color-mapping.md

  • Four color mapping types overview
  • UniColorMapping for single color application
  • RangeBrushColorMapping for value ranges
  • DesaturationColorMapping for opacity-based coloring
  • PaletteColorMapping for color collections
  • LeafColorMapping configuration
  • Complete examples for each type

Headers and Labels Customization

📄 Read: references/headers-and-labels.md

  • Label font and color customization
  • LabelBrush and LabelBackgroundBrush
  • Label border properties
  • HeaderBrush configuration
  • ShowLabels property for visibility
  • HeaderHeight for level headers
  • Complete styling examples

Legend Support

📄 Read: references/legend-support.md

  • TreeMap legend for color value demonstration
  • LegendPosition configuration (Left, Right, Top, Bottom)
  • LegendType for icon shapes
  • LegendGap for spacing
  • Integration with RangeBrushColorMapping
  • LegendLabel in RangeBrush items

Tooltips and Advanced Customization

📄 Read: references/tooltip-and-customization.md

  • Tooltip visibility and configuration
  • HeaderToolTipInfo for group tooltips
  • ItemToolTipInfo for leaf tooltips
  • Custom tooltip content patterns
  • LeafItemDrawing event for custom rendering
  • Advanced leaf node customization
  • Custom graphics and images in TreeMap

Quick Start Example

Step 1: Install NuGet Package

Install-Package Syncfusion.TreeMap.WinForms

Step 2: Create Data Model

using System.Collections.ObjectModel;

public class PopulationDetail
{
    public string Continent { get; set; }
    public string Country { get; set; }
    public double Growth { get; set; }
    public double Population { get; set; }
}

public class PopulationViewModel
{
    public ObservableCollection<PopulationDetail> PopulationDetails { get; set; }

    public PopulationViewModel()
    {
        PopulationDetails = new ObservableCollection<PopulationDetail>();

        PopulationDetails.Add(new PopulationDetail
        {
            Continent = "Asia",
            Country = "Indonesia",
            Growth = 3,
            Population = 237641326
        });

        PopulationDetails.Add(new PopulationDetail
        {
            Continent = "Asia",
            Country = "Russia",
            Growth = 2,
            Population = 152518015
        });

        PopulationDetails.Add(new PopulationDetail
        {
            Continent = "North America",
            Country = "United States",
            Growth = 4,
            Population = 315645000
        });

        // Add more data...
    }
}

Step 3: Configure TreeMap

using Syncfusion.Windows.Forms.TreeMap;

public class MyForm : Form
{
    private TreeMap treeMap;

    public MyForm()
    {
        InitializeComponent();

        // Create TreeMap instance
        treeMap = new TreeMap();

        // Set data source
        PopulationViewModel data = new PopulationViewModel();
        treeMap.ItemsSource = data.PopulationDetails;

        // Configure paths
        treeMap.WeightValuePath = "Population";
        treeMap.ColorValuePath = "Growth";

        // Set layout mode
        treeMap.ItemsLayoutMode = ItemsLayoutModes.Squarified;

        // Add first level (Continent)
        TreeMapFlatLevel level1 = new TreeMapFlatLevel();
        level1.GroupPath = "Continent";
        level1.ShowLabels = true;
        treeMap.Levels.Add(level1);

        // Add second level (Country)
        TreeMapFlatLevel level2 = new TreeMapFlatLevel();
        level2.GroupPath = "Country";
        level2.ShowLabels = true;
        level2.HeaderHeight = 25;
        treeMap.Levels.Add(level2);

        // Add color mapping
        UniColorMapping colorMapping = new UniColorMapping();
        colorMapping.Color = Color.MediumSlateBlue;
        treeMap.LeafColorMapping = colorMapping;

        // Set size and add to form
        treeMap.Size = new Size(800, 600);
        treeMap.Location = new Point(10, 10);
        this.Controls.Add(treeMap);
    }
}

Common Patterns

Multi-Level Hierarchy Pattern

// Create levels for nested grouping
TreeMapFlatLevel level1 = new TreeMapFlatLevel();
level1.GroupPath = "Category";
level1.ShowLabels = true;
treeMap.Levels.Add(level1);

TreeMapFlatLevel level2 = new TreeMapFlatLevel();
level2.GroupPath = "SubCategory";
level2.ShowLabels = true;
level2.HeaderHeight = 25;
treeMap.Levels.Add(level2);

TreeMapFlatLevel level3 = new TreeMapFlatLevel();
level3.GroupPath = "Item";
level3.ShowLabels = true;
level3.HeaderHeight = 20;
treeMap.Levels.Add(level3);

Range-Based Color Mapping Pattern

RangeBrushColorMapping rangeMapping = new RangeBrushColorMapping();

rangeMapping.Brushes.Add(new RangeBrush
{
    Color = ColorTranslator.FromHtml("#77D8D8"),
    From = 0,
    To = 1,
    LegendLabel = "Low"
});

rangeMapping.Brushes.Add(new RangeBrush
{
    Color = ColorTranslator.FromHtml("#FFAF51"),
    From = 1,
    To = 5,
    LegendLabel = "Medium"
});

rangeMapping.Brushes.Add(new RangeBrush
{
    Color = ColorTranslator.FromHtml("#F3D240"),
    From = 5,
    To = 20,
    LegendLabel = "High"
});

treeMap.LeafColorMapping = rangeMapping;

Interactive Tooltip Pattern

// Enable tooltips
treeMap.IsToolTipVisible = true;

// Configure header tooltip
ToolTipInfo headerToolTip = new ToolTipInfo();
headerToolTip.ToolTipHeaderPattern = "<b>{Label}</b>";
headerToolTip.ToolTipContentPattern = "Growth: {Growth}%";
treeMap.HeaderToolTipInfo = headerToolTip;

// Configure item tooltip
ToolTipInfo itemToolTip = new ToolTipInfo();
itemToolTip.ToolTipHeaderPattern = "<b>{Country}</b>";
itemToolTip.ToolTipContentPattern = "Growth: {Growth}%\nPopulation: {Population}";
treeMap.ItemToolTipInfo = itemToolTip;

Key Properties Reference

Essential Properties

PropertyTypeDescription
ItemsSourceobjectData collection to visualize
WeightValuePathstringPath to field determining rectangle size
ColorValuePathstringPath to field for color mapping
ItemsLayoutModeItemsLayoutModesLayout algorithm selection
LevelsTreeMapLevelCollectionCollection of hierarchical levels
LeafColorMappingTreeMapColorMappingColor mapping strategy

Customization Properties

PropertyTypeDescription
LabelFontFontFont for leaf node labels
LabelBrushBrushLabel text color
LabelBackgroundBrushBrushLabel background color
LabelBorderBrushBrushLabel border color
LabelBorderThicknessintLabel border width
HeaderBrushBrushHeader background color

Legend Properties

PropertyTypeDescription
LegendPositionLegendPositionsLegend placement (Top/Bottom/Left/Right)
LegendTypeLegendTypesLegend icon shape
LegendGapintSpacing between legend items

Tooltip Properties

PropertyTypeDescription
IsToolTipVisibleboolEnable/disable tooltips
HeaderToolTipInfoToolTipInfoTooltip configuration for headers
ItemToolTipInfoToolTipInfoTooltip configuration for leaf items

Decision Guide

When to Use Each Layout Mode

Squarified:

  • Best for balanced aspect ratios
  • More readable rectangles
  • General-purpose visualization
  • Use when: Data proportions vary widely

SliceAndDiceAuto:

  • Alternates horizontal/vertical splits by level
  • Good for hierarchical clarity
  • Use when: Showing clear level separation

SliceAndDiceHorizontal:

  • All rectangles split horizontally
  • Use when: Wide display area available

SliceAndDiceVertical:

  • All rectangles split vertically
  • Use when: Tall display area available

Choosing Color Mapping

UniColorMapping:

  • Single color for all items
  • Use when: Color doesn't represent data, only grouping

RangeBrushColorMapping:

  • Different colors for value ranges
  • Use when: Categorizing data into discrete ranges (low/medium/high)

DesaturationColorMapping:

  • Single base color with varying opacity
  • Use when: Showing continuous gradient of values

PaletteColorMapping:

  • Cycle through color collection
  • Use when: Distinguishing categories without value meaning

Edge Cases and Troubleshooting

Missing Data in Visualization

  • Cause: WeightValuePath or ColorValuePath field missing in data model
  • Solution: Ensure all data objects have required properties

Labels Not Showing

  • Cause: ShowLabels property not set on TreeMapFlatLevel
  • Solution: Set level.ShowLabels = true for each level

Colors Not Applying

  • Cause: LeafColorMapping not configured
  • Solution: Create and assign color mapping to TreeMap.LeafColorMapping

Assembly Reference Error

  • Cause: Missing Syncfusion.TreeMap.Windows assembly
  • Solution: Install Syncfusion.TreeMap.WinForms NuGet package

Levels Not Grouping Correctly

  • Cause: GroupPath doesn't match data property name
  • Solution: Verify GroupPath string matches exact property name (case-sensitive)

Best Practices

  1. Use ObservableCollection for dynamic data that may change
  2. Set appropriate HeaderHeight for multi-level TreeMaps (20-30 pixels)
  3. Choose color mapping based on data meaning (ranges vs. gradient)
  4. Enable tooltips for interactive exploration of data
  5. Use GroupGap to visually separate levels (5-10 pixels)
  6. Test with realistic data sizes to ensure layout works well
  7. Provide legends when using RangeBrushColorMapping
  8. Consider layout mode based on display dimensions

Assembly: Syncfusion.TreeMap.Windows Namespace: Syncfusion.Windows.Forms.TreeMap NuGet Package: Syncfusion.TreeMap.WinForms

平台分布

Codex

36.97%
按下载量换算88

Claude

29.38%
按下载量换算70

Cursor

20.43%
按下载量换算48

Gemini CLI

9.89%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills