awslabs / diagram-as-code

Diagram-as-code for AWS architecture.
Apache License 2.0
405 stars 22 forks source link

[Feature Request] Allow optional control over vertical and horizontal display #65

Open a2ush opened 1 month ago

a2ush commented 1 month ago

Request

The current implementation defaults to horizontal, so only horizontal views are generated. https://github.com/awslabs/diagram-as-code/blob/601056c873298e2f2312b3f3ffbe8be6b458d77c/internal/types/group.go#L55

horizontal

It's better to be able to switch the display with an option.

Example

$ awsdac <input CloudFormation template> --cfn-template --vertical

vertical