Expand description
Parse and draw xdot
shapes.
§Example
use xdot::parse;
let shapes = parse("c 7 -#ff0000 p 4 4 4 36 4 36 36 4 36");
§Feature flags
-
layout
— Thelayout
feature allows to parsexdot
attributes from graphviz_rust’s Graphs using draw_graph. -
extension-module
— Theextension-module
feature enables using the crate from Python. -
pyo3
— Thepyo3
module is for testing Python features.
Modules§
- Drawing attributes for lines, shapes, and text.
- Drawable shapes included in Shape.
Macros§
Structs§
Enums§
- Layout
Error layout
Error wrapping possible errors that can occur when running draw_graph.
Statics§
- Known node/edge attribute names holding
xdot
draw instructions that parse can handle.
Functions§
- draw_
graph layout
Extract ShapeDraw operations from a graph annotated withxdot
draw attributes. - layout_
and_ draw_ graph layout
- Parse an
xdot
draw attribute (as defined here). Returns a vector of stateless drawing operations defining shape and style of the drawn node, edge, or label. - pymodule
pyo3
Python module TODO