Coder Social home page Coder Social logo

isaaceindhoven / plantuml-styler Goto Github PK

View Code? Open in Web Editor NEW
65.0 8.0 6.0 1.58 MB

Online tool to make your PlantUML diagrams look great.

License: Other

Dockerfile 0.01% JavaScript 46.54% TypeScript 42.07% HTML 8.18% SCSS 3.20%
plantuml plantuml-editor plantuml-styler css angular8 plantuml-helper tool open-source opensource isaac

plantuml-styler's Introduction

PlantUML-styler

Edit and style plantUML diagrams right in your browser with instant feedback.

Some key features include:

  • Edit and preview your diagram on-the-fly
  • Use out-of-the-box themes, or create your own theme visually
  • Download your themes and reuse them in future projects
  • Use the default plantUML render server, or use your own server.
  • And much more...

See the latest version in action on https://plantumlstyler.netlify.app/

example

Motivation

Created as an internship assignment

Build status

Netlify Status

Code style

eslint-style

Why PlantUML-styler

PlantUML-styler makes it possible to generate beautiful diagrams with just the press of a button.

it turns a PlantUML diagram like this one.

PlantUML diagram

Into a beautiful diagram like this!

StyleUML diagram

Tech/framework used

Built with

Running PlantUML-styler locally

  1. Clone this repository
  2. Install the Angular CLI if you haven't already by running npm install -g @angular/[email protected]
  3. Run npm install in the repository
  4. Run ng serve -o to start a development server at http://localhost:4200

Tests

  1. Clone this repository
  2. Install the Angular CLI if you haven't already by running npm install -g @angular/cli
  3. Run npm install in the repository
  4. Run ng test

karma

How does PlantUML-styler work

A step-by-step guide on how to work with PlantUML-styler.

  1. Type the PlantUML code in the designated text area

textarea

  1. Pick a desired theme

themes

  1. Edit the styling to make it your own

edit

  1. Download your beautiful diagram

download

Credits

Big thanks to PlantUML for making this project possible

FAQ

  • Can I use PlantUML-styler to style UML diagrams of types other than Sequence-diagram? like for example Usecase-diagram?

    • You can certainly try. As per the 6th of Januari 2020 this isn't really supported. Although some diagrams may work, we can't say for certain it works well. If there is functionality for different UML types that you really want to use, Add it yourself! every bit of help is highly appreciated.
  • Is there an easy way to share these diagrams?

    • There is! Just press the download button

      download

      This will give you a ".zip" file, this file contains png's and every bit of information needed to import it into PlantUML-styler.

      Either press the

      plus

      or the

      import json

      button and select the downloaded ".zip" file. This will open the exact diagram you downloaded and you can change anything you want!

  • How do I change the environment variables like the default server?

    • there is a file called environment.prod.ts change the base to whatever server you want, this will set it as default

License

MIT © ISAAC and/or its affiliates

plantuml-styler's People

Contributors

ericsmekens avatar joeyboy108 avatar koenpeters avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plantuml-styler's Issues

Add CLI mode to output a diagram as an image

Hello! It would be great if someone adds the CLI mode to pass the parameters: theme, .puml file, etc. And as a result the diagram would be created as a PNG image, for instance.

Thank you!

Allow disable style overwriting

While the themes are useful, they limit seeing the original code.
It would be great to have a way to disable it and show exactly what the colors are set in the code as is.

actual

image

expected

image

code to reproduce

@startmindmap Tools

*[#000000] <color:#FFFFFF><&infinity> ChromeBook

** Collaboration
***_ <b>Gmail Workspace</b> \n<i>(Voice, Chat, \n<i>Meet, \n<i>Email, Calendar, Tasks, Keep, \n<i>Drive, Docs, Sheets, Slides, Forms, Drawing, Sites, \n<i>Tables, DataStudio)

** Phone
***_ Google Voice
***_ <strike><color:#B71C1C>Zoom</strike>

** Chat
***_ Google Chat
***_ <strike><color:#B71C1C>Microsoft Teams</strike>
***_ <strike><color:#B71C1C>Slack</strike>

** Remote support
***_ Google Remote Desktop
***_ Microsoft Remote Desktop
***_ <strike><color:#B71C1C>TeamViewer</strike>

** Cloud
***[#1B5E20] <color:#E8F5E9>Google Cloud
***[#0D47A1] <color:#E3F2FD>Microsoft Azure

** Screen-Capture
***[#F44336] <color:#FFEBEE>TechSmith Snag-it

** Async meeting
***[#F44336] <color:#FFEBEE>TechSmith Snag-it
***[#FDD835] <color:#212121>Loom

** eSign and Document archiving
***_ Adobe PDF Pro

** Ticketing
***_ Zendesk
***_ Kayako

@endmindmap

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.