xdot-rust
The main function of this package is parse.
It parses node/edge attributes on graphviz graphs created by xdot into drawable shapes.
use ;
let shapes: = parse;
Each ShapeDraw struct contains a shape with geometry and a pen with drawing attributes (such as color, line style, and font).
If you have the layout feature active, you can also use layout_and_draw_graph (and draw_graph):
use parse;
use Graph;
use ;
let graph: Graph = parse.unwrap;
let shapes: = layout_and_draw_graph.unwrap;