I am currently using this diagram package (https://github.com/francoislaberge/diagrams) to create a sequence diagram.

It fits my work flow because I want to be able to generate a sequence diagram by running a command.

 diagrams sequence <my file>

However it misses a few features such as supporting loop.

Is there any good cli tool to generate sequence diagram?

1 Answer 1


You simply can't beat MSC generator. It is cross-platform, full featured and well supported (Zoltan generally replies very quickly to emails requesting support or new features).

It takes its input from a plain text file:

enter image description here

Read the excellent user mnaual and search for "loop".

  • Did you try this? Doe sit meet your needs? If so, please accept the answer in order to help others who read the question in future. If not, please explain why and you might get a better response.
    – Mawg
    Commented Oct 27, 2021 at 20:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.