add_relationship_type
mutationSince v1.0Add a new relationship type to the metamodel. After creating it, use add_allowed_connection to specify which node types can be connected with it.
Example Request
{"name": "mitigates", "color": "#00aa44", "description": "Feature mitigates a Risk"}Example Response
{"success": true, "operation_count": 1, "versions": [58], "created": [{"kind": "relationship_type", "id": "b21f...", "label": "depends_on"}]}This content was written collaboratively with AI.