Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/graphviz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl EGraph {
stmt!(GraphAttributes::compound(true)),
// Set default sub-graph rank to be same so that all nodes in e-class are on same level
stmt!(SubgraphAttributes::rank(rank::same)),
stmt!(GraphAttributes::fontname("helvetica".to_string())),
stmt!(GraphAttributes::fontname("monospace".to_string())),
stmt!(GraphAttributes::fontsize(9.0)),
stmt!(GraphAttributes::margin(3.0)),
stmt!(GraphAttributes::nodesep(0.05)),
Expand All @@ -67,7 +67,7 @@ impl EGraph {
stmt!(GA::Node(vec![
NodeAttributes::shape(shape::none),
NodeAttributes::margin(0.0),
NodeAttributes::fontname("helvetica".to_string())
NodeAttributes::fontname("monospace".to_string())
])),
// Draw edges first, so that they are behind nodes
stmt!(GraphAttributes::outputorder(outputorder::edgesfirst)),
Expand Down