Skip to content

Commit

Permalink
[182] Definition/Usage node collapsed by default
Browse files Browse the repository at this point in the history
Bug: #182
Signed-off-by: Axel RICHARD <axel.richard@obeo.fr>
  • Loading branch information
AxelRICHARD committed Apr 12, 2024
1 parent 8de58ad commit afb77e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- https://github.com/eclipse-syson/syson/issues/171[#171] [details] Add PortUsage#direction attribute to Core properties in the Details view.
- https://github.com/eclipse-syson/syson/issues/169[#169] [general-view] Handle UseCaseDefinition and UseCaseUsage in General View diagram
- https://github.com/eclipse-syson/syson/issues/177[#177] [diagrams] Add reconnect tools for composition edges
- https://github.com/eclipse-syson/syson/issues/182[#182] [diagrams] Make Definition/Usage node collapsed by default in general-view & actionflow-view diagrams

=== New features

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public NodeDescription create() {
.defaultWidthExpression(ViewConstants.DEFAULT_NODE_WIDTH)
.domainType(domainType)
.insideLabel(this.createInsideLabelDescription())
.isCollapsedByDefaultExpression("aql:true")
.name(this.nameGenerator.getNodeName(this.eClass))
.semanticCandidatesExpression("aql:self.getAllReachable(" + domainType + ")")
.style(this.createDefinitionNodeStyle())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public NodeDescription create() {
.defaultWidthExpression(ViewConstants.DEFAULT_NODE_WIDTH)
.domainType(domainType)
.insideLabel(this.createInsideLabelDescription())
.isCollapsedByDefaultExpression("aql:true")
.name(this.nameGenerator.getNodeName(this.eClass))
.semanticCandidatesExpression("aql:self.getAllReachable(" + domainType + ")")
.style(this.createUsageNodeStyle())
Expand Down

0 comments on commit afb77e6

Please sign in to comment.