From db223a5d937ea7b7dc765bb21628b40067cd703b Mon Sep 17 00:00:00 2001 From: noneback Date: Fri, 22 Nov 2024 20:48:45 +0800 Subject: [PATCH] doc(readme): update api docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e7ed26c..47a9f88 100644 --- a/README.md +++ b/README.md @@ -52,11 +52,11 @@ Only unrecovered `panic` needs to be addressed by the framework. Now, if it happ ## How to use visualize taskflow ```go -if err := tf.Dump( os.Stdout); err != nil { +if err := tf.Dump(os.Stdout); err != nil { log.Fatal(err) } ``` -`Visualize` generates raw strings in dot format, use `dot` to draw a DAG svg. +`tf.Dump` generates raw strings in dot format, use `dot` to draw a Graph svg. ![dot](image/desc.svg)