Skip to content

Latest commit

 

History

History
80 lines (53 loc) · 1.44 KB

readme.textile

File metadata and controls

80 lines (53 loc) · 1.44 KB

A plantuml demo web project.

A web API to generate plantuml SVG image.

POST /generate?type=SVG&text=**plantuml goes here**

type also support PNG

A web page to edit text and preview image.

Made up of

  1. Spring boot, mvn
  2. Plantuml library to provide text to UML transformation.
  3. Closure-library to provide web UI.
  4. Orion to provide web text editor.

Run the project.

This project managed by maven.

mvn spring-boot:run

Install and run

mvn package

all source file including js will packaged.

and we need python to compress js files.
Note:

Support

Hope this project helps you.
Open a issue if any question.

Technique Note

Build Lifecycle

phase doing
prepare-package compress src js into web-compress
package web-compress as resource folder
filtering index.html

代码提示

点击alt+/ 或者 ctrl+空格 或者 ctrl+space+空格 可以显示代码提示。

支持的代码提示有:

  1. usecase,用例图
    1. 角色 → 活动:actor
    2. ${actor} —> (${usecase}) : ${label}
    3. actor :${Last actor}: as ${alias}
  2. sequence,顺序图
    1. ${actor1} → ${actor2}: ${operation}
    2. participant ${display name} as ${alias}
  3. 公共
    1. title ${title}
    2. note
  4. 其他关键字
  5. —> 竖
  6. → 横
  7. :
  8. >

其他关键字
title
actor
usecase
right
left
note