add_node_type
mutationSince v1.0Add 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.
Example Request
{"name": "Risk", "color": "#ff4444", "description": "A project risk", "properties": [{"name": "severity", "data_type": "String"}, {"name": "probability", "data_type": "Number"}]}Example Response
{"success": true, "operation_count": 1, "versions": [57]}