4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

M1 MacのVSCodeにPlantUMLを導入

Last updated at Posted at 2021-06-10

インストール

brew コマンドを使って必要なパッケージを導入

$ brew install graphviz adoptopenjdk plantuml

VSCode で利用する

PlantUML をインストールする。
インストールが完了したら VSCode を再起動。

.pu ファイルを作成し、以下の通り記入してみる。

@startuml
Class1 <|-- Class2
Class3 *-- Class4
Class5 o-- Class6
Class7 .. Class8
Class9 -- Class10
@enduml

その後、⌥(option) + D を入力すると図が描写される。

Reference

4
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?