bafolts / plantcode

Provides a javascript utility to generate code in various languages given a plantuml class diagram.
https://segmentationfaults.com/plantcode
MIT License
217 stars 42 forks source link

allow more complex color definitions #23

Open HelloLudger opened 4 years ago

HelloLudger commented 4 years ago

This does two things:

  1. add "color" to classes and
  2. allow mixed colors, as plantuml does:

image

class singlecolor #FFAA00 {}
class multicolor1 #FFAA00-0000FF {}
class multicolor2 #FFAA00|0000FF {}
class multicolor3 #FFAA00/0000FF {}
class multicolor4 #FFAA00\0000FF {}