generate_network_graph
Create visual network graphs to map relationships between entities (nodes) with customizable styles, themes, and dimensions for clear data representation. Belongs to MCP Server Chart.
Instructions
Generate a network graph chart to show relationships (edges) between entities (nodes), such as, relationships between people in social networks.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | Data for network graph chart, such as, { nodes: [{ name: 'node1' }, { name: 'node2' }], edges: [{ source: 'node1', target: 'node2', name: 'edge1' }] } | |
height | No | Set the height of chart, default is 400. | |
style | No | Custom style configuration for the chart. | |
theme | No | Set the theme for the chart, optional, default is 'default'. | default |
width | No | Set the width of chart, default is 600. |