网络图生成器
交互式网络关系图,用于可视化社交网络、拓扑结构和节点连接
API 文档
请求端点
POST /zh/api/tools/network-chart
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| networkData | textarea | 是 | JSON格式的网络数据,包含nodes和edges数组。节点:id、label、group、size、color。边:source、target、weight、color、label |
| chartTitle | text | 否 | 网络图的主标题 |
| layoutAlgorithm | select | 否 | - |
| showLabels | checkbox | 否 | 是否显示节点标签 |
| showEdgeLabels | checkbox | 否 | 是否显示边标签 |
| colorScheme | select | 否 | - |
| nodeSize | text | 否 | 节点的默认大小(像素) |
| edgeWidth | text | 否 | 边的默认宽度(像素) |
| linkDistance | text | 否 | 连接节点间的理想距离(力导向布局) |
| nodeStrength | text | 否 | 节点间的排斥力(负值) |
| animationDuration | text | 否 | 动画持续时间(毫秒) |
响应格式
{
"result": "Processed HTML content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
HTML:
HTML
AI MCP 文档
将此工具添加到您的 MCP 服务器配置中:
{
"mcpServers": {
"elysiatools-network-chart": {
"name": "network-chart",
"description": "交互式网络关系图,用于可视化社交网络、拓扑结构和节点连接",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=network-chart",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。
如果遇见问题,请联系我们:[email protected]