2
0

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 5 years have passed since last update.

AAとかのBlock diagrams tools調べてて、graph-easyにたどり着いたのだが。

Last updated at Posted at 2019-07-27

Installation

cpan Graph::Easy

でinstallするという記事をいくつか見かけましたが、できなかったのですが
下記コマンドでinstallできました。

$ perl -MCPAN -e 'install Graph::Easy'

example

$ graph-easy <<< '[ Load balancer ] --> { start: front, 0; } [ server 1 ], [ server 2 ]'
+---------------+          +----------+
| Load balancer | -+-----> | server 1 |
+---------------+  |       +----------+
                   |       +----------+
                   +-----> | server 2 |
                           +----------+

ただし、日本語だとずれる。

$ graph-easy <<< '[ ロードバランサー ] --> { start: front, 0; } [ サーバー 1 ], [ サーバー 2 ]'
+----------+          +--------+
| ロードバランサー | -+-----> | サーバー 1 |
+----------+  |       +--------+
              |       +--------+
              +-----> | サーバー 2 |
                      +--------+

さいごに

そうこうしている頑張って、調べているうちに気づきました。
Monodraw使えば
もっと簡単にGUIで書いて、markdownへコピペしてできることに気づいた。。。今後これ使う。
有料版でも買い切りで、複数Macでいけるみたい。


┌───────────────┐       ┌──────────────┐
│ Load Balancer │───┬──▶│   Server 1   │
└───────────────┘   │   └──────────────┘
                    │                           
                    │   ┌──────────────┐
                    └──▶│   Server 2   │
                        └──────────────┘

ただ、やっぱり日本語はずれた。まぁ英語がいいよね。

┌───────────────┐        ┌──────────────┐
│   ロードバランサー    │───┬───▶│    サーバー 1    │
└───────────────┘   │    └──────────────┘
                    │                    
                    │    ┌──────────────┐
                    └───▶│    サーバー 2    │
                         └──────────────┘
2
0
0

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
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?