dot
A library for generating Graphviz DOT language files for graphs.
0.2.0
4.1M downloads/mo
#4976 most downloaded on crates.io
przygienda/dot-rust
What this package is like to depend on
Last release 6 days ago
17 Aug 2026
Ships unpredictably
gaps range from 3 weeks to 8.3 years
Some releases are documented
notes for 2 of 7 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
7 releases · first in 2015
1 release in the last 12 months
see the full history below
Release timeline
7 releases · Apr 2015 to Aug 2026Releases
latest 7-
0.2.017 Aug 2026Release notes
Open source →This release contains breaking API changes relative to
0.1.4, hence the minor version bump.Breaking changes
as_slice()was renamed toas_str()onStyle,Id,FillandSide. Replacex.as_slice()withx.as_str().Arrow::default()is no longer an inherent method;Arrownow derivesDefault. ExistingArrow::default()call sites keep working via theDefaulttrait, but the method can no longer be referenced as an inherent function (e.g. in a path expression expecting an inherent item).- The crate now uses edition 2024, which requires a recent Rust toolchain.
Added
- Subgraph support (#8, #16):
Labeller::subgraph_id,subgraph_label,subgraph_style,subgraph_shape,subgraph_colorandGraphWalk::subgraphs,subgraph_nodes. TheLabeller/GraphWalktraits gained a subgraph type parameter which defaults to(), so existing implementations continue to work unchanged. RankDir::as_str().
Fixed
- Restored
Style::Invisible(rendered asstyle="invis"), which was present in0.1.4but got lost during the subgraph merge. - Cleaned up all
clippyandrustdocwarnings; the crate now builds warning-free.
-
0.1.427 Apr 2018 -
0.1.322 Jan 2018Nothing published for this version
-
0.1.222 Nov 2015Nothing published for this version
-
0.1.116 Nov 2015Nothing published for this version
-
0.1.029 Oct 2015Nothing published for this version
-
0.0.411 Apr 2015Nothing published for this version