Skip to main content
Glama

Graphistry MCP

Official
by graphistry

apply_tree_layout

Transform graphs into structured hierarchical layouts using Graphistry's API. Visualize complex network data clearly by applying tree layouts to enhance analysis and interpretation.

Instructions

Apply a tree (layered hierarchical) layout to the graph using Graphistry's tree_layout API. Args: graph_id (str): The ID of the graph to modify. Returns: dict: { 'graph_id': ..., 'url': ... } with the updated visualization URL. Example: apply_tree_layout(graph_id)

Input Schema

NameRequiredDescriptionDefault
graph_idYes

Input Schema (JSON Schema)

{ "properties": { "graph_id": { "title": "Graph Id", "type": "string" } }, "required": [ "graph_id" ], "title": "apply_tree_layoutArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/graphistry/graphistry-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server