Git Product home page Git Product logo

plant-uml-springboot-server's Introduction

PlantUML Springboot server

Install Graphviz.

Build and Start the server:

$ mvn spring-boot:run

Then if you open this README-file in a Markdown editor, like MacDown, an UML image shall appear between the horizontal lines below, when this page is reloaded:


Use Case Diagram

![Use Case Diagram](http://localhost:8080/uml?script= @startuml; skinparam monochrome true; left to right direction; actor User; actor Admin; rectangle system { User-->(UC1); Admin-->(UC1); } @enduml; )

Class Diagram

![Class Diagram](http://localhost:8080/uml?script= @startuml; skinparam monochrome true; package alpha { class A{ length:double; doit():void; } class B; class C; A <|-- B; B o--"dees\n0..n" D:knows >; D *-- C; } package beta { class D; interface E{ notify(event:Event):void; } class Event; C --> alpha.A; E <|.. D; E..> Event; } @enduml; )


See PlantUML for more information about syntax.

Note: a difference compared to vanilla PlantUML syntax is that each line must be terminated with the character ;

Docker

It is possible to build a docker image with graphviz and server packaged:

$ mvn clean package docker:build
$ docker run -d --name plant-uml -p 19180:8080 plant-uml-springboot-server:1.0.0

Or just start the docker image available at docker.io:

$ docker run -d --name plant-uml -p 19180:8080 joelbinn/plant-uml-springboot-server:1.0.0

plant-uml-springboot-server's People

Contributors

joelbinn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.