THIS DOCUMENT IS AI TRANSLATED. original: ja
Generate sequence diagram images from text files written in the format of sequencediagram.org.
- Python (>=3.8)
- pip (>=21)
- Playwright
It opens sequencediagram.org in a headless browser, pastes the source code from the specified file into the editor, and then downloads the sequence diagram in SVG format.
Download from releases and install using the following command:
$ pip install txt2sduml-0.1.0-py3-none-any.whl
For the first installation, Playwright needs to be installed.
The playwright command is installed during the resolution of txt2sduml dependencies, but in some cases, if the PATH is not set, the installed playwright and txt2sduml may not be found.
$ playwright install
Download the new package from releases and upgrade using the following command:
$ pip install --upgrade txt2sduml-0.1.0-py3-none-any.whl