Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.

Neos21/practice-node-uml

Repository files navigation

Practice Node.js UML : practice-node-uml

Node.js 環境で UML を描く素振りリポジトリ。

Mermaid.js : mermaid.cli

  • Install
$ npm install mermaid.cli --save
  • package.json
{
  "scripts": {
    "mmdc": "mmdc",
    "generate-mermaid": "mmdc --input example-mermaid.md --output output-mermaid.png"
  }
}
  • --input : -i
  • --output : -o

Plant UML : node-plantuml

  • Install
$ npm install node-plantuml --save
  • package.json
{
  "scripts": {
    "puml": "puml",
    "generate-plantuml": "puml generate --png --output output-plantuml.png example-plantuml.md"
  }
}

インプットとなるファイル (example-plantuml.md) は Shift-JIS エンコーディングにしておかないと、日本語のレンダリング結果が文字化けしてしまう。

Bibliography

Links

About

Node.js 環境で UML を描く素振りリポジトリ。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published