add_node_type

mutationSeit v1.0

Add a new node type (entity type) to the metamodel. Do this before creating nodes of that type. You can define custom properties with data types.

Beispielanfrage

{"name": "Risk", "color": "#ff4444", "description": "A project risk", "properties": [{"name": "severity", "data_type": "String"}, {"name": "probability", "data_type": "Number"}]}

Beispielantwort

{"success": true, "operation_count": 1, "versions": [57]}