Skip to content

Commit

Permalink
doc(readme): update api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
noneback committed Nov 22, 2024
1 parent bb2c4b7 commit db223a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit db223a5

Please sign in to comment.