Eamcs ditaa generates an Image Based on the character image,

Source: Internet
Author: User

Eamcs ditaa generates an Image Based on the character image,

Ditta and artist mode are good brothers. Artist mode helps me quickly create a character image. ditta is a java program that can read and generate an image.

Ditta's website: http://ditaa.sourceforge.net/

After the download, decompress the package to the local directory and run it using the java-jar command. The first parameter received is a text file containing a character image. By default, a png image with the same name is generated and saved in the current directory.

Since I often use muse to write and publish documents, I have come up with a good solution:

1. Use artist mode to create character graphics in an independent text file

2. Use ditta to generate a png file based on characters in the text file

3. Use the [[] label in the muse document to introduce the png file.


The following is a character chart:

          +----------------+  +----------------+   +----------------+                           | zookeeper 1   | | zookeeper 1  | | zookeeper 1  |  | 10.100.50.1    | | 12.100.54.121  | | 90.100.54.121  |  | hbase region   | | hbase region  | | hbase region  |+---------------+  | MR task tracker| | MR task tracker| | MR task tracker||127.121.54.167 |  | HDFS datanode  | | HDFS datanode  | | HDFS datanode  ||nginx, tomcat|  |   | |       | |  |||         +----------------+    +----------------+     +-----.----------++---------------+   .    ..   .                   ..+---------------+                +---------------+   ..............................................|217.121.54.170 |                |               |............                   .|nginx, tomcat  |   ======)      +11.100.54.137  +    ..      .|               |                |Kafka          | ...  .+---------------+                +---------------+ .  . ..+---------------+       ...|153.125.89.231 |      ..|nginx, tomcat  |                +---------------+...............|               |                +17.100.54.136  |      ..........+---------------+   =======)     |kafka          | .....                 +               +   ....+---------------+                +---------------+...|129.125.89.232 ||nginx, tomcat  ||               |+---------------+

After ditta is converted into an image, it is directly embedded into the muse document.

For internal information not exposed, the png image will not be displayed directly.







Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.