pistazie / cdk-dia

Automated diagrams of CDK provisioned infrastructure
MIT License
877 stars 37 forks source link

Add a decorator which allows to customize the label of a diagram node #6

Open pistazie opened 3 years ago

pistazie commented 3 years ago

CDK-Dia currently automatically generates a label for each diagram node according to the resource logical name and cloudformation type.

CDK-Dia also has decorators which allow the user to customize how a construct is diagramed (see main README.md for details).

This issue offers to add such a customizer that allows the user to set a custom label.