awslabs / diagram-as-code

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

Add border line to resources which have children #71

Closed a2ush closed 1 month ago

a2ush commented 1 month ago

Issue #, if available:

There is an issue where the border is not displayed even for resources that have children.

Description of changes:

If a resource has children, the border line will be drawn.

Resources:
  SampleFargateCluster:
    Type: AWS::ECS::Cluster

ECS1

Resources:
  SampleFargateCluster:
    Type: AWS::ECS::Cluster

  SampleFargateService:
    Type: AWS::ECS::Service
    Properties:
      Cluster: !Ref SampleFargateCluster

ECS

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.