first commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# export_graph_json
|
||||
|
||||
## API Definition
|
||||
|
||||
```python
|
||||
def export_graph_json(graph: OperationGraph, indent: int = 2) -> str
|
||||
```
|
||||
|
||||
*Source: serializer.py*
|
||||
|
||||
## Import Surface
|
||||
|
||||
- top-level: `from simplecadapi import export_graph_json`
|
||||
|
||||
## Description
|
||||
|
||||
Export an OperationGraph to a JSON string.
|
||||
|
||||
## Parameters
|
||||
|
||||
### graph
|
||||
|
||||
- **Description**: The graph to export.
|
||||
|
||||
### indent
|
||||
|
||||
- **Description**: JSON indentation level.
|
||||
|
||||
## Returns
|
||||
|
||||
JSON string representation.
|
||||
Reference in New Issue
Block a user