diagram-as-code icon indicating copy to clipboard operation
diagram-as-code copied to clipboard

Deprecate AWS::Diagram::Group

Open ugwis opened this issue 9 months ago • 1 comments

Why

The main difference between groups and resources was whether they had children. However, I found that there are many icons that can be used as both groups and resources. (For example, AWS::ECS::Cluster etc.).

What

The difference between the group implementation and the resource implementation was not large, and similar implementations were wrapped in an interface. Since we found no concerns about migrating to the Resource type, we will abolish the Group type and adopt a method that changes the rendering method of the Resource type depending on the presence or absence of children. This allows users to use CFn like types without worrying about group/resource differences.

### Tasks
- [x] 1. Migrate to `AWS::Diagram::Resource`
- [ ] 2. Remove Node interface
- [ ] 3. Deprecate `AWS::Diagram::Group`

ugwis avatar May 08 '24 04:05 ugwis

Migration to Resource is complete. Wait a while before deleting Interface and abolishing AWS::Diagram::Group.

ugwis avatar May 10 '24 01:05 ugwis

Deprecated AWS::Diagram::Group

ugwis avatar Jun 25 '24 05:06 ugwis