Skip to content

Commit

Permalink
Bugfix Stakeholder Map Generator: Handle multiple CML-Stakeholder blo…
Browse files Browse the repository at this point in the history
…cks properly
  • Loading branch information
stefan-ka committed Aug 23, 2024
1 parent 45b32c3 commit 79bd329
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ protected void generateFromContextMappingModel(ContextMappingModel model, IFileS
}

private void generateStakeholderDiagrams(ContextMappingModel model, IFileSystemAccess2 fsa, String fileName) {
PlantUMLStakeholderMapGenerator stakeholderDiagramGenerator = new PlantUMLStakeholderMapGenerator();
int index = 1;
for (Stakeholders stakeholders : model.getStakeholders()) {
PlantUMLStakeholderMapGenerator stakeholderDiagramGenerator = new PlantUMLStakeholderMapGenerator();
fsa.generateFile(fileName + "_BC_"
+ stakeholderDiagramGenerator.getStakeholderDiagramContextName(stakeholders.getContexts())
.replace(", ", "-").replace(" ", "-")
Expand Down

0 comments on commit 79bd329

Please sign in to comment.