[ 
https://issues.apache.org/jira/browse/YUNIKORN-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281127#comment-17281127
 ] 

Kinga Marton commented on YUNIKORN-543:
---------------------------------------

The Graphviz output can be generated using the following test case:

{code:go}
func TestGenerateSTateDiag(t *testing.T){
        t.Log(fsm.Visualize(NewAppState()))
}
{code}


> Document state diagram generation
> ---------------------------------
>
>                 Key: YUNIKORN-543
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-543
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>            Reporter: Kinga Marton
>            Priority: Major
>
> Extend the documentation about how to generate a state diagram. 
> Right now we the information only in a PR:
> bq.The looplab/fsm code allows generating a graphviz file via 
> {{fsm.Visualize(state-machine)}}. This file can be converted using the 
> {{dot}} tool or other online tools into a svg or png file."
> Also it would be nice to be able to generate it through a make command



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to