vim-slumlord icon indicating copy to clipboard operation
vim-slumlord copied to clipboard

Is it possible to use other types of UML diagram?

Open AbdullahDahmash opened this issue 7 years ago • 3 comments

AbdullahDahmash avatar Aug 07 '17 11:08 AbdullahDahmash

Last time I checked this, plantuml couldn't not produce other diagrams in ascii output. This could have changed in the intervening year, which would be awesome, but I haven't investigated

scrooloose avatar Aug 07 '17 11:08 scrooloose

I test it on https://www.planttext.com/ with their sample of the code. For example, class diagram:

@startuml

title Classes - Class Diagram


class Dwelling {
  +Int Windows
  +void Lock()
}

class Apartment
class House
class Commune

@enduml

Then I chose txt

,------------.             
|Dwelling    |  ,---------.
|------------|  |Apartment|
|+Int Windows|  |---------|
|------------|--|---------|
|+void Lock()|  `---------'
`------------'             
       |                   
       |                   
   ,-----.   ,-------.     
   |House|   |Commune|     
   |-----|---|-------|     
   |-----|   |-------|     
   `-----'   `-------'     

But some other diagrams cause problems

AbdullahDahmash avatar Aug 07 '17 12:08 AbdullahDahmash

is there an alternative vim-plugin for activity diagram?

GLaDOS-418 avatar May 16 '18 09:05 GLaDOS-418