generate_graph_chart
Create network graph charts to visualize relationships between entities using nodes and edges. Customize layout, theme, size, and title, and export the output in multiple formats. Ideal for social networks or data analysis.
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: [{ id: 'node1', name: 'Node 1' }], edges: [{ source: 'node1', target: 'node2' }] } | |
height | No | Set the height of the chart, default is 600px. | |
layout | No | Layout algorithm for the graph. Default is 'force'. | force |
theme | No | Set the theme for the chart, optional, default is 'default'. | default |
title | No | Set the title of the chart. | |
width | No | Set the width of the chart, default is 800px. |