Low-level rendering functions.
Given a Javascript object, render a leafdata symbol tree.
| Parameter | Type | Description |
|---|---|---|
data |
JsObj |
the js object to render |
indent? |
string |
if omitted, the tree will be generated without pretty printing to conserve space. If specified, the content will be pretty printed for humans. |
renderTreeToStr(
data:LeafData):string
Given a leafdata symbol tree, render a leafdata document string.
| Parameter | Type |
|---|---|
data |
LeafData |
string