Skip to content

lxbzmy/plantuml-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Online web editor convert text to UML use plantuml.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages