monkeyble icon indicating copy to clipboard operation
monkeyble copied to clipboard

✨Feature Request - generate flow charts from test scenarios

Open briantist opened this issue 1 year ago • 3 comments

This is kind of a half-baked idea, but monkeyble seems uniquely positioned to generate a flow chart of a play/playbook/role, which could be a really nice addition to role documentation and such.

It could use Mermaid syntax, use the task names, represent looping and branching and such? So maybe for example, you run several scenarios against a specific role or playbook, and a result a flowchart can be generated that shows various paths through the role.

An example of mermaid (quote or edit this post to see the syntax, better examples are out there):

graph TD
    A[Thievery] -->|Get money| B(Go shopping)
    B --> C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[fa:fa-car Car]

briantist avatar Feb 26 '23 00:02 briantist