@graphty/graphty-element / index / GraphvizFailureCode
Type Alias: GraphvizFailureCode ​
GraphvizFailureCode =
"graphviz.unavailable"|"graphviz.syntax"|"graphviz.error"|"graphviz.crashed"|"graphviz.timeout"|"graphviz.too-large"
Defined in: graphty-element/src/layout/graphviz/protocol.ts:22
Why a Graphviz layout failed, as the details.reason of the GraphtyError it fails with.
| Reason | Error code | details |
|---|---|---|
graphviz.unavailable | E_MISSING_PACKAGE | package, feature |
graphviz.syntax | E_PARSE_FAILED | engine, line, near |
graphviz.error | E_UNSUPPORTED | engine, messages |
graphviz.crashed | E_EXTENSION_FAILED | engine, message |
graphviz.timeout | E_CAP_EXCEEDED | engine, ms |
graphviz.too-large | E_CAP_EXCEEDED | engine, nodes, limit |
New reasons may be added in a minor release.