Gallery: C and Rust
30 inputs chosen to cover each engine and the features that are hardest to get right: clusters, records and HTML tables, orthogonal routing, concentrated edges, spline modes, arrowheads, colours, gradients and non-ASCII text. Each was rendered by the C reference and by the port when the site was built. Every thumbnail is the two outputs overprinted, C in cyan and the port in magenta, so a sample in register looks like a single blue drawing.
30 of 30 byte-identical on macOS29 of 30 under portable math
Re-render all of them with the WASM build, here, and compare with C's stored bytes.
dot17
Finite-state machine
dot -Kdot -Tsvg fsm.gvmacOSportableClusters
dot -Kdot -Tsvg clust4.gvmacOSportableUnix family tree
dot -Kdot -Tsvg unix.gvmacOSportableRecord ports
dot -Kdot -Tsvg structs.gvmacOSportableHTML-like tables
dot -Kdot -Tsvg html2.gvmacOSportableOrthogonal routing in clusters
dot -Kdot -Gsplines=ortho -Tsvg clust4.gvmacOSportableOrthogonal switch network
dot -Kdot -Gsplines=ortho -Tsvg switch.gvmacOSportableConcentrated edges
dot -Kdot -Gconcentrate=true -Tsvg unix.gvmacOSportablePolyline edges
dot -Kdot -Gsplines=polyline -Tsvg abstract.gvmacOSportableCurved edges
dot -Kdot -Gsplines=curved -Tsvg fsm.gvmacOSportableEvery arrowhead
dot -Kdot -Tsvg arrows.gvmacOSportableColours and fonts
dot -Kdot -Tsvg crazy.gvmacOSportableRadial gradients
dot -Kdot -Tsvg gv16_graphs_grdradial_f61057.gvmacOSportableExternal labels
dot -Kdot -Tsvg gv16_graphs_xlabels_e9f1cf.gvmacOSportableEdges between clusters
dot -Kdot -Tsvg gv16_graphs_compound_7ed9c4.gvmacOSportableNode shapes
dot -Kdot -Tsvg shapes.gvmacOSportableUTF-8 labels
dot -Kdot -Tsvg japanese.gvmacOSportable
neato2
Heawood graph
dot -Kneato -Tsvg Heawood.gvmacOSportableProcess graph
dot -Kneato -Tsvg process.gvmacOSportable
fdp2
fdp with clusters
dot -Kfdp -Tsvg gv16_graphs_fdp_8f3263.gvmacOSportablefdp on nested clusters
dot -Kfdp -Tsvg clust4.gvmacOSportable
sfdp3
sfdp spring smoothing
dot -Ksfdp -Tsvg attr_smoothing_spring.gvmacOSportablesfdp switch network
dot -Ksfdp -Tsvg wild_gv16_directed_switch_2841f8.gvmacOSportablesfdp Unix tree
dot -Ksfdp -Tsvg unix.gvmacOSportable differs
circo2
Circular Heawood
dot -Kcirco -Tsvg Heawood.gvmacOSportableCircular state machine
dot -Kcirco -Tsvg fsm.gvmacOSportable
twopi1
Radial Unix tree
dot -Ktwopi -Tsvg unix.gvmacOSportable
osage1
osage cluster packing
dot -Kosage -Tsvg gallery_osage_0_f6bd9e.gvmacOSportable
patchwork2
patchwork treemap
dot -Kpatchwork -Tsvg gallery_patchwork_0_7dbf8c.gvmacOSportableUnix tree as treemap
dot -Kpatchwork -Tsvg unix.gvmacOSportable