Expand description
High-level Graphviz orchestration engine (graphviz-pure).
Structs§
- Global
Attrs - Attributes declared before the graph body, as set by the command line flags
-Gname=value,-Nname=valueand-Ename=value. - Graph
- Arena-backed Graph representation (Fixes GV-BUG-008 and GV-BUG-010).
- Layout
Options - Engine options set on the command line.
Enums§
- Graphviz
Error - Unified error type for
graphviz-purereplacing C Graphviz’sgraphviz_exit()andagerr(). - Layout
Engine - Output
Format
Functions§
- layout_
graph - layout_
graph_ with_ options - parse_
dot - Parses a DOT graph specification into an arena-backed
Graph. - parse_
dot_ all - Parses every graph in a DOT stream (
digraph G {..} digraph H {..}), applyingglobals(-G/-N/-Ecommand line attributes) as if declared at the top of each graph. - render_
dot - End-to-end DOT rendering pipeline for any supported engine and output format. Renders the
first graph in
dot_source. - render_
dot_ all - Renders every graph in
dot_source, applyingglobals(-G/-N/-E) before each graph body. - render_
dot_ all_ partial render_dot_all_with_optionsthat renders the graphs read before a syntax error and returns that error alongside, asdotdoes.- render_
dot_ all_ with_ options render_dot_allwith engine options such as-n(keep input positions).- render_
graph - render_
graph_ named - Renders
graph;nameis the requested format name (distinguishesplain-ext). - render_
svg_ all_ partial - Lays out and renders every graph in
dot_sourceas SVG, for raster output: each SVG comes with whether its graph setsdpi(orresolution), since Graphviz then scales the drawing to that resolution instead of drawing raster formats at 96 dpi. Likerender_dot_all_partial, the graphs read before a syntax error are returned with it.