From 71a8ae28228e026506214a3059c7734ce5ab810d Mon Sep 17 00:00:00 2001 From: Lai-YT <381xvmvbib@gmail.com> Date: Sun, 2 Apr 2023 09:50:25 +0800 Subject: [PATCH] docs: sample image for graph mode --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 252b0e4..21cdb01 100644 --- a/README.md +++ b/README.md @@ -147,9 +147,12 @@ This will then write the graph into `some/path/and/filename.dot`. - After the DOT file is generated, you can convert it into a PNG image with Graphviz. ```shell -dot -Tpng nfa.dot -O +dot -Tpng nfa.dot -o nfa.png ``` -The PNG image will be located at `nfa.dot.png`. +![The NFA of "(a|b)*abb"](https://imgur.com/WCbGHDu.png) +> **Note** +> The numbering of the states is related to the order of their creations. + See the [command line documentation of Graphviz](https://graphviz.org/doc/info/command.html) to learn more. ## 🚀 Development