eugene-manuilov/typeorm-uml

Support changing arrows direction

micalevisk opened this issue · 2 comments

What about add the --direction option to allow us specify a connection direction?

  --direction                    [default: TB] Arrows directions. TB=top to bottom, LR=left to right.

basically append the string 'left to right direction\n' or 'top to bottom direction\n' after '@startuml\n'

public buildUml( connection: Connection, flags: TypeormUmlCommandFlags ): string {
let uml = '@startuml\n\n';

Yep, good idea too. Thanks! Added it to the develop branch (#21) and will ship it with the next release.

Ok, the new version 1.4.0 has been published and this feature has been shipped. Thanks, @micalevisk! 🎉