apply_ring_categorical_layout
Apply a categorical ring layout to visualize graph nodes grouped by attributes like 'type' or 'group', updating the graph visualization for clearer network pattern analysis.
Instructions
Apply a categorical ring layout to the graph using Graphistry's ring_categorical_layout API.
Args:
graph_id (str): The ID of the graph to modify.
ring_col (str): The node column to use for determining ring membership (e.g., a categorical attribute like 'type' or 'group').
Returns:
dict: { 'graph_id': ..., 'url': ... } with the updated visualization URL.
Example:
apply_ring_categorical_layout(graph_id, ring_col='type')
Input Schema
Name | Required | Description | Default |
---|---|---|---|
graph_id | Yes | ||
ring_col | Yes |
Input Schema (JSON Schema)
{
"properties": {
"graph_id": {
"title": "Graph Id",
"type": "string"
},
"ring_col": {
"title": "Ring Col",
"type": "string"
}
},
"required": [
"graph_id",
"ring_col"
],
"title": "apply_ring_categorical_layoutArguments",
"type": "object"
}