preston / railroady

Ruby on Rails 3/4/5 model and controller UML class diagram generator. (`brew/port/apt-get install graphviz` before use!)
Other
1.72k stars 142 forks source link

Fixes issue I have where "none" creates svg's with black backgrounds and pngs with transparent backgrounds #107

Closed danajanezic closed 8 years ago

preston commented 8 years ago

Hi Dana,

This may be a nice option, but I can't merge this as-is. The backgrounds are intentionally transparent to allow for the greatest flexibility in display. If you don't want to do that, one suggestion would be to run railroady manually and pipe the output to a simple expression that changes that "none" line to the color of your choosing. Or if you want to make it an option instead, that's cool, though I'd prefer the default remain as "none".