(config)
| 250 | } |
| 251 | |
| 252 | function translateConfig(config) { |
| 253 | return { |
| 254 | main: config.main, |
| 255 | nodes: list2map(config.nodes) || {}, |
| 256 | graphs: |
| 257 | list2map(config.graphs.map((graph) => translateGraph(graph))) || {}, |
| 258 | counter: 1, |
| 259 | }; |
| 260 | } |
| 261 | |
| 262 | export const parse = (config) => { |
| 263 | let config_translated = translateConfig(config); |
no test coverage detected