Separate inline part of graph from non-inline
1 files changed, 2 insertions(+), 11 deletions(-)

M telegram-bot-diagram.dot
M telegram-bot-diagram.dot +2 -11
@@ 1,6 1,6 @@ 
 digraph G {
     subgraph bot_states {
-        node [shape=ellipse];
+        node [shape=ellipse, style=filled, fillcolor=lightblue];
         "bot waiting";
         "bot got inline query";
         "bot got /<command>";

          
@@ 8,7 8,7 @@ digraph G {
         "bot got callback";
     }
     subgraph user_states {
-        node [shape=ellipse];
+        node [shape=ellipse,style=filled,fillcolor=burlywood];
         "user typed @bot,\nsaw placeholder text";
         "user got reply\n+ ReplyKeyboard";
         "group got picked reply";

          
@@ 47,14 47,6 @@ digraph G {
        "user sends bot inline query"
        -> "bot got inline query";
 
-    "bot got inline query"
-    -> "bot replies";
-
-    "bot got inline query"
-    -> "bot replies\n+ ReplyKeyboard";
-       "bot replies\n+ ReplyKeyboard"
-       -> "user got reply\n+ ReplyKeyboard";
-
     "user got reply\n+ ReplyKeyboard"
     -> "user picks reply";
        "user picks reply"

          
@@ 94,7 86,6 @@ digraph G {
        "user sends /<command>"
        -> "bot got /<command>";
 
-    "bot got /<command>" -> "bot replies\n+ InlineReplyKeyboard";
     "bot got /<command>" -> "bot replies\n+ ReplyKeyboard";
     "bot got /<command>" -> "bot replies";