Skip to content

Commit

Permalink
fixed problem with diamond generate
Browse files Browse the repository at this point in the history
  • Loading branch information
AQUINO SANCHEZ Jorge committed Oct 3, 2023
1 parent ba689d1 commit d528b88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private String renderAsOr(PlantUmlProperty property, String boxName, String colo
if (localName == null) {
localName = property.getPropertyShape().getId().getLabelString();
}
String sNameDiamond = "diamond_" + nodeshapeId + "_" + localName.replace("-", "_");
String sNameDiamond = "diamond_" + nodeshapeId.replace("-", "_") + "_" + localName.replace("-", "_");
// diamond declaration
String output = "<> " + sNameDiamond + "\n";

Expand Down

0 comments on commit d528b88

Please sign in to comment.