Skip to content

Commit

Permalink
Merge branch 'tmp_fix_README_figure' into 'main'
Browse files Browse the repository at this point in the history
[fix] fix code samples in README

See merge request ricos/machine_learning/dagstream!16
  • Loading branch information
riku-sakamoto committed Dec 17, 2023
2 parents b84da00 + fc1ed9b commit b09b79e
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ F.succeed(E)
dagstream execute the functions based on relationship you defined.

```python
from dagstream.executes import StreamExecutor
from dagstream.executor import StreamExecutor

# construct functional dag
functional_dag = stream.construct()
Expand Down Expand Up @@ -94,20 +94,19 @@ The output is shown like below.
stateDiagram
direction LR
state "funcC" as state_0
state "funcE" as state_0
state "funcB" as state_1
state "funcD" as state_2
state "funcA" as state_3
state "funcF" as state_4
state "funcE" as state_5
[*] --> state_0
state_0 --> state_1
state "funcF" as state_2
state "funcD" as state_3
state "funcC" as state_4
state "funcA" as state_5
state_0 --> state_2
state_1 --> state_4
state_2 --> state_3
state_2 --> state_4
state_3 --> state_4
state_4 --> state_5
state_5 --> [*]
state_1 --> state_0
state_2 --> [*]
state_3 --> state_0
state_4 --> state_0
state_4 --> state_3
[*] --> state_5
state_5 --> state_4
state_5 --> state_1
```

0 comments on commit b09b79e

Please sign in to comment.