fetchai / uAgents

A fast and lightweight framework for creating decentralized agents with ease.
Apache License 2.0
995 stars 241 forks source link

feat(core): add a demonstration script to generate a graphviz pdf graph from a Dialogue #472

Open scrowland opened 3 months ago

scrowland commented 3 months ago

Proposed Changes

Demonstrate how to draw a simple graph visualisation of a Dialogue's state graph using the Graphviz package.

Linked Issues

[if applicable, add links to issues resolved by this PR]

Types of changes

What type of change does this pull request make (put an x in the boxes that apply)?

Checklist

Put an x in the boxes that apply:

If applicable

Further comments

[if this is a relatively large or complex change, kick off a discussion by explaining why you chose the solution you did, what alternatives you considered, etc...]

Archento commented 3 months ago

Thanks for the contribution!

There is definitely a need for visualisation of the Dialogues and we'll be providing a native way for that in the near future. Currently we try to keep the dependencies to a minimum especially if packages rely on external tools to be present but it's a good start regardless!

I'll leave this PR open as a reference and until this topic has been resolved.