set_graph_settings
Customize and update graph visualization settings using Graphistry's API. Specify parameters like pointSize and edgeInfluence to modify interactive graph displays. Returns the updated graph URL for instant preview.
Instructions
Set visualization settings for a graph using Graphistry's settings API.
Args:
graph_id (str): The ID of the graph to modify.
url_params (dict): Dictionary of Graphistry URL parameters to control visualization. Example: {'pointSize': 0.5, 'edgeInfluence': 2, 'play': 0}.
Returns:
dict: { 'graph_id': ..., 'url': ... } with the updated visualization URL.
Example:
set_graph_settings(graph_id, url_params={'pointSize': 0.5, 'play': 0})
Input Schema
Name | Required | Description | Default |
---|---|---|---|
graph_id | Yes | ||
url_params | Yes |
Input Schema (JSON Schema)
{
"properties": {
"graph_id": {
"title": "Graph Id",
"type": "string"
},
"url_params": {
"additionalProperties": true,
"title": "Url Params",
"type": "object"
}
},
"required": [
"graph_id",
"url_params"
],
"title": "set_graph_settingsArguments",
"type": "object"
}