All Projects → jbn → IPlantUML

jbn / IPlantUML

Licence: MIT license
A Python package which defines a PlantUML cell magic for IPython.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to IPlantUML

dcdg.dart
Dart Class Diagram Generator
Stars: ✭ 98 (+15.29%)
Mutual labels:  uml, plantuml, uml-diagram
PlantUml-Language-Service
PlantUml Language Service extension for Visual Studio 2017 and 2019
Stars: ✭ 24 (-71.76%)
Mutual labels:  uml, plantuml, uml-diagram
PlantUML-colors
This script is to show all named color suggested by PlantUML
Stars: ✭ 52 (-38.82%)
Mutual labels:  uml, plantuml, uml-diagram
swagger2puml
Generate Class Diagrams (UML) for Given Swagger Definition
Stars: ✭ 43 (-49.41%)
Mutual labels:  uml, plantuml, uml-diagram
Aws Plantuml
PlantUML sprites, macros, and other includes for AWS components.
Stars: ✭ 565 (+564.71%)
Mutual labels:  uml, plantuml
Plantuml Editor
PlantUML online demo client
Stars: ✭ 313 (+268.24%)
Mutual labels:  uml, plantuml
C4-PlantumlSkin
This library provides skinning to create C4 diagrams using PlantUml
Stars: ✭ 74 (-12.94%)
Mutual labels:  uml, plantuml
Lein Plantuml
A Leiningen plugin for generating UML diagrams using PlantUML
Stars: ✭ 43 (-49.41%)
Mutual labels:  uml, plantuml
Kroki
Creates diagrams from textual descriptions!
Stars: ✭ 774 (+810.59%)
Mutual labels:  uml, plantuml
plantuml2mysql
This utility parses PlantUML class diagram and generates SQL DDL for MySQL
Stars: ✭ 110 (+29.41%)
Mutual labels:  plantuml, uml-diagram
ecto erd
A mix task for generating Entity Relationship Diagram from Ecto schemas available in your project.
Stars: ✭ 173 (+103.53%)
Mutual labels:  uml, plantuml
idle
parse source code(objective-c, java) generate uml(class diagram)
Stars: ✭ 44 (-48.24%)
Mutual labels:  uml, plantuml
Plantuml Service
High-performance HTTP service for PlantUML, used in Kibela
Stars: ✭ 86 (+1.18%)
Mutual labels:  uml, plantuml
Umldoclet
Automatically generate PlantUML diagrams in javadoc
Stars: ✭ 138 (+62.35%)
Mutual labels:  uml, plantuml
Arkit
JavaScript architecture diagrams and dependency graphs
Stars: ✭ 671 (+689.41%)
Mutual labels:  uml, plantuml
Plantuml Styler
Online tool to make your PlantUML diagrams look great.
Stars: ✭ 35 (-58.82%)
Mutual labels:  uml, plantuml
xumlidot
RUBY UML class diagram generator with XMI and DOT output.
Stars: ✭ 28 (-67.06%)
Mutual labels:  uml, uml-diagram
Plantuml Icon Font Sprites
plantuml-font-icon-sprites
Stars: ✭ 242 (+184.71%)
Mutual labels:  uml, plantuml
Asciidoctor Kroki
Asciidoctor.js extension to convert diagrams to images using Kroki!
Stars: ✭ 55 (-35.29%)
Mutual labels:  uml, plantuml
C4 Plantuml
C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures
Stars: ✭ 3,522 (+4043.53%)
Mutual labels:  uml, plantuml
https://travis-ci.org/jbn/IPlantUML.svg?branch=master

What is it?

This Python package defines a PlantUML cell magic for IPython. It lets you generate UML diagrams as inline SVG in your notebook. I'll add embellishments as needed. But, for now, I just needed something that worked and existed as a package (in pypi).

I based my code on Steven Burke's plantuml gist.

Installation

First, install IPlantuml with pip.

pip install iplantuml

Then, install plantuml. On Debian based system you can install plantuml package. Otherwise you can download plantuml.jar and copy it to /usr/local/bin/plantuml.jar.

sudo apt install plantuml

Alternatively you can set a custom path for plantuml.jar during installation

git clone https://github.com/jbn/IPlantUML.git
cd IPlantUML
python setup.py install iplantuml --jarpath /my/custom/path/plantuml.jar

Usage

In Ipython, first,

import iplantuml

then, create a cell like,

%%plantuml --jar

@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml

The output will be the generated SVG UML diagram using the plantuml.jar on your local system. To utilise remote rendering on plantweb omit the --jar argument:

%%plantuml

@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml

By default, the magic removes the intermediate (tmp.uml) and target (tmp.svg) files. However, if you enter a name in the %%plantuml line, it retains both files of $name.uml and $name.svg. For example,

%%plantuml auth

@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml

generates and retains auth.uml and auth.svg.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].