apply_modularity_weighted_layout
Apply modularity-based weighted layouts to graphs using the Graphistry MCP server. Optimizes visualization by grouping nodes based on modularity, enhancing analysis of complex network structures. Provides a URL to the updated graph view.
Instructions
Apply modularity weighted layout to the graph using Graphistry's modularity_weighted_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_modularity_weighted_layout(graph_id)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
graph_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"graph_id": {
"title": "Graph Id",
"type": "string"
}
},
"required": [
"graph_id"
],
"title": "apply_modularity_weighted_layoutArguments",
"type": "object"
}