Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lxbzmy/plantuml-demo

Online web editor convert text to UML use plantuml.
https://github.com/lxbzmy/plantuml-demo

Last synced: 4 months ago
JSON representation

Online web editor convert text to UML use plantuml.

Awesome Lists containing this project

README

        

h1. A plantuml demo web project.

A web API to generate plantuml SVG image.

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

type also support *PNG*

A web page to edit text and preview image.

!{width:600px;border:1px solid gray}demo.png!

h2. Made up of

# Spring boot, mvn
# Plantuml library to provide text to UML transformation.
# Closure-library to provide web UI.
# Orion to provide web text editor.

h2. Run the project.

This project managed by maven.

bc(shell). mvn spring-boot:run

h2. Install and run

bc(shell). mvn package

all source file including js will packaged.

and we need python to compress js files.
Note:

h2. Support

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

h2. Technique Note

Build Lifecycle

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

h2. 代码提示

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

支持的代码提示有:

# usecase,用例图
## 角色 -> 活动:actor
## ${actor} --> (${usecase}) : ${label}
## actor :${Last actor}: as ${alias}
# sequence,顺序图
## ${actor1} -> ${actor2}: ${operation}
## participant ${display name} as ${alias}
# 公共
## title ${title}
## note
# 其他关键字
# --> 竖
# -> 横
# :
# >

其他关键字
title
actor
usecase
right
left
note