Skip to content

Commit

Permalink
Change graphviz text to be monospace
Browse files Browse the repository at this point in the history
  • Loading branch information
saulshanabrook committed Aug 12, 2024
1 parent 5838c03 commit 5c68216
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 5c68216

Please sign in to comment.