apply_layout
Apply a chosen layout algorithm (force_directed, radial, circle, grid) to a graph for visualization and analysis within Graphistry MCP, optimizing structure and clarity for complex network data.
Instructions
Apply a layout algorithm to a graph.
Args:
graph_id: ID of the graph to apply layout to
layout: Layout algorithm to apply (force_directed, radial, circle, grid)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
graph_id | Yes | ||
layout | Yes |
Input Schema (JSON Schema)
{
"properties": {
"graph_id": {
"title": "Graph Id",
"type": "string"
},
"layout": {
"title": "Layout",
"type": "string"
}
},
"required": [
"graph_id",
"layout"
],
"title": "apply_layoutArguments",
"type": "object"
}