summaryrefslogtreecommitdiff
path: root/graph
diff options
context:
space:
mode:
Diffstat (limited to 'graph')
-rw-r--r--graph/src/labelled/binary.rs2
-rw-r--r--graph/src/labelled/double.rs2
-rw-r--r--graph/src/lib.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/graph/src/labelled/binary.rs b/graph/src/labelled/binary.rs
index ccbd5cb..5120522 100644
--- a/graph/src/labelled/binary.rs
+++ b/graph/src/labelled/binary.rs
@@ -208,7 +208,7 @@ impl<T: GraphLabel> Graph for PLGraph<T> {
let preamble = "digraph nfa {
fontname=\"Helvetica,Arial,sans-serif\"
- node [fontname=\"Helvetica,Arial,sans-serif\"]
+ node [fontname=\"Helvetica,Arial,sans-serif\", ordering=out]
edge [fontname=\"Helvetica,Arial,sans-serif\"]
rankdir=LR;\n";
diff --git a/graph/src/labelled/double.rs b/graph/src/labelled/double.rs
index ab2b27c..a641c74 100644
--- a/graph/src/labelled/double.rs
+++ b/graph/src/labelled/double.rs
@@ -135,7 +135,7 @@ impl<T: GraphLabel> Graph for DLGraph<T> {
let preamble = "digraph nfa {
fontname=\"Helvetica,Arial,sans-serif\"
- node [fontname=\"Helvetica,Arial,sans-serif\"]
+ node [fontname=\"Helvetica,Arial,sans-serif\", ordering=out]
edge [fontname=\"Helvetica,Arial,sans-serif\"]
rankdir=LR;\n";
diff --git a/graph/src/lib.rs b/graph/src/lib.rs
index 9e5b1cc..e27ace0 100644
--- a/graph/src/lib.rs
+++ b/graph/src/lib.rs
@@ -113,7 +113,7 @@ pub trait Graph: Default {
fn print_viz(&self, filename: &str) -> Result<(), std::io::Error> {
let preamble = "digraph nfa {
fontname=\"Helvetica,Arial,sans-serif\"
- node [fontname=\"Helvetica,Arial,sans-serif\"]
+ node [fontname=\"Helvetica,Arial,sans-serif\", ordering=out]
edge [fontname=\"Helvetica,Arial,sans-serif\"]
rankdir=LR;\n";