@shumoku/core · 0.4.2 · function
readNetworkModel
Reads the YAML people write into a model that holds it as its configuration. A network that cannot be read as written throws a `NetworkInputError` listing every issue in it.
readNetworkModel(text: string): NetworkModel Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
text | string | No additional description. | — |
Returns
NetworkModel libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-model-graph.ts:30