PlantText

Recently I need to create a UML diagram based on some domain models and I found a text based one called PlantText. In this you can write code to generate UML diagram. The main point of interest is you can store and manage your UML generation code in your source control the same way of your application code. You can re-generate the UML diagram from the code at any time from the PlantText website. Not just UML diagram they have many other kinds of diagram support as well.

https://www.planttext.com/

@startuml

abstract class Car {
  +int Id
  +string Name
  +void Start()
  +void Accelerate()
  +void DeAccelerate()
  +void Stop()
}

class BMW {
  +float Price
  +Location GetGpsLocation()
  +Warranty GetWarranty()
}

Car <|-down- BMW

@enduml

1 thought on “PlantText

  1. Pingback: mermaid | Arnab Roy Chowdhury

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s