bupt-gamma/igraph/graph-visualization
Claude Code and agent skill by bupt-gamma/igraph
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
图可视化与高亮展示技能,支持节点、路径、子图、社区等多种高亮类型
Install
npx vskill@latest install bupt-gamma/igraph/graph-visualizationSKILL.md
图可视化
当用户意图涉及图的可视化展示、高亮特定节点/路径/子图/社区时触发此技能。
适用场景
- 用户要求"可视化图"、"画出图"、"展示图"
- 用户要求高亮特定节点(如最短路径、关键节点)
- 用户要求高亮路径(如 A 到 B 的最短路径)
- 用户要求高亮子图(如 Ego-graph、社区子图)
- 用户要求高亮社区(如社区检测结果)
- 用户要求展示分子官能团、网络关键结构等
操作步骤
- 确认图已加载:如果图尚未加载,提示用户先加载图数据。
- 调用可视化工具:使用
visualize_subgraph工具获取全图可视化数据。 - 构建 highlights 参数:根据用户意图构建
highlights参数(见下方统一格式)。 - 组合高亮:如果用户同时要求多种高亮(如最短路径 + 社区),可同时指定
paths、nodes、subgraphs。 - 社区着色:默认启用(
include_community: true),添加节点、路径或子图高亮时也保持启用;仅在用户要求关闭社区着色时设置为false。
Highlights 统一格式(Agent 输入格式)
参数说明
| 字段 | 类型 | 说明 | |
|---|---|---|---|
nodes | array | 节点高亮列表 | |
nodes[].ids | array | 要高亮的节点 ID 列表 | |
nodes[].label | string | 高亮标签(可选) | |
paths | array | 路径高亮列表 | |
paths[].node_sequence | array | 路径节点序列(按顺序) | |
paths[].label | string | 路径标签(可选) | |
subgraphs | array | 子图/社区高亮列表 | |
subgraphs[].nodes | array | 子图节点列表 | |
subgraphs[].label | string | 子图标签(可选) |
高亮类型与颜色
| 类型 | 颜色 | 说明 | |
|---|---|---|---|
paths | 黄色 (#f59e0b) | 路径高亮 | |
nodes | 绿色 (#10b981) | 节点高亮 | |
subgraphs | 紫色 (#8b5cf6) | 子图/社区高亮 |
验证
- 可视化面板自动打开并显示图
- 高亮按钮出现,点击可切换对应高亮
- 高亮类型颜色区分:路径(黄)、节点(绿)、子图(紫)、社区(粉)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent_runtime/resources/skills/graph_visualization/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bupt-gamma/igraph/graph-visualization)