Skip to content

@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.

ReasonError codedetails
graphviz.unavailableE_MISSING_PACKAGEpackage, feature
graphviz.syntaxE_PARSE_FAILEDengine, line, near
graphviz.errorE_UNSUPPORTEDengine, messages
graphviz.crashedE_EXTENSION_FAILEDengine, message
graphviz.timeoutE_CAP_EXCEEDEDengine, ms
graphviz.too-largeE_CAP_EXCEEDEDengine, nodes, limit

New reasons may be added in a minor release.