Giter Club home page Giter Club logo

plantuml-helpers's Introduction

plantuml-helpers README

This is a small helper for editing PlantUML files.

codecov CircleCI

Sample

Features

Changes the arrows in Plant-UML diagrams from horizonatal to vertical and vice versa. It can also swap the arrow direction with also swapping the content. This is helpful when changing the order in which the elements are drawn.

Commands

The available commands are:

  • PlantUMLHelpers: Auto Format UML - will try to rearrange the currently selected UML diagram according to the following rules:
    • elements with no / less incoming dependencies are moved to the beginning
    • elements with many incoming dependencies are moved to the end
    • elements are ordered by chains
    • inheritance is set to use "up" direction (if not already set to "down")
    • composition is set to use "right" direction (if not already set to "left")

Supported diagram types are: * component + class diagrams * sequence diagrams - here the "sorting" is done by declaring the participants and actors in order

  • PlantUMLHelpers: Reformat UML is similar to auto format, however directions may all be changed and directions set by user are all overridden. Also if one source component points to several other components in the same direction the directions are automatically adjusted to point also up/down or left/right. This may already lead to good enough results.

Commands with key combinations are:

  • Alt-8: rotate arrow to left
  • Alt-9: swap arrow left / right
  • Alt-0: rotate arrow to right

Enjoy!

plantuml-helpers's People

Contributors

dependabot[bot] avatar michael72 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

vrdate

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.