nodes/docs/NODE_DEFINITION.md
Max Richter f4853821d4
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 2m9s
feat: add some documentation
2024-05-05 13:47:08 +02:00

39 lines
499 B
Markdown

# Node Definition
Which arguments a node expects is defined in a single `.json` file that is embedded into our node. It consists of three main fields:
## id
`user-name/namespace/node-id`
## outputs
```json
"outputs": [
"geometry"
]
```
## inputs
```json
"inputs": {
"height": {
"type": "float",
"value": 2
},
"radius": {
"type": "float",
"value": 0.5
}
}
```
## meta (optional)
The meta object is optional and can contain two other fields:
`title`
`description`