Add GraphViz package...

This commit is contained in:
joachimschmidt557 2019-03-15 21:20:25 +01:00
parent 30949252c0
commit 2708e66b19
2 changed files with 10 additions and 0 deletions

7
DFA.fs
View file

@ -1,6 +1,7 @@
module DFA
open System
open Shields.GraphViz
///
/// A deterministic finite automaton
@ -19,6 +20,12 @@ type DFA = {
acceptingStates: String list
}
(*
let createGraph (dfa:DFA) =
let mutable graph = Graph.Directed.Add(EdgeStatement.For("a", "b"))
graph
*)
/// Returns true if the DFA is valid, false otherwise
let validateDFA (dfa:DFA) =