Skip to content

Commit

Permalink
label the main overview after the project name instead of "Overview"
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRentzCAU committed Nov 27, 2024
1 parent 7b76497 commit ca55e0e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class GenerateSyntheses {
if (TOPDOWN_LAYOUT.booleanValue) {
SynthesisUtils.configureTopdownLayout(it, false)
}
addProjectRendering
addProjectRendering(model.projectName)
«FOR view : data.views»
val overview«view.name»Nodes = «view.name.toFirstLower»OverviewSynthesis.transform(visContext.«view.name.toFirstLower»OverviewContext)
Expand Down Expand Up @@ -942,12 +942,12 @@ class GenerateSyntheses {
/**
* Adds the rendering as a project overview.
*/
def void addProjectRendering(KNode node) {
def void addProjectRendering(KNode node, String projectName) {
node.addRoundedRectangle(ROUNDNESS, ROUNDNESS) => [
setGridPlacement(1)
addRectangle => [
invisible = true
addSimpleLabel("Overview") => [
addSimpleLabel(projectName) => [
fontBold = true
selectionFontBold = true
]
Expand Down

0 comments on commit ca55e0e

Please sign in to comment.