From: John Keeney Date: Tue, 15 Oct 2024 11:48:50 +0000 (+0000) Subject: Merge "TEIV: Update documnentation" X-Git-Tag: 0.1.0~9 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=dce964ebd22b70654e991c82d3f79e215409ac5b;p=smo%2Fteiv.git Merge "TEIV: Update documnentation" --- dce964ebd22b70654e991c82d3f79e215409ac5b diff --cc pgsql-schema-generator/src/main/java/org/oran/smo/teiv/pgsqlgenerator/graphgenerator/EntityGraphGeneratorUml.java index f8bad0d,54aa6f0..276edf5 --- a/pgsql-schema-generator/src/main/java/org/oran/smo/teiv/pgsqlgenerator/graphgenerator/EntityGraphGeneratorUml.java +++ b/pgsql-schema-generator/src/main/java/org/oran/smo/teiv/pgsqlgenerator/graphgenerator/EntityGraphGeneratorUml.java @@@ -67,12 -71,12 +71,12 @@@ public class EntityGraphGeneratorUml StringBuilder sb = new StringBuilder(); sb.append("@startuml\n"); sb.append("skinparam class {\n"); - sb.append(" BackgroundColor<> LightGray\n"); + sb.append(" BackgroundColor<> " + helperFunctions.getNodeFillColour(moduleName) + " \n"); sb.append(" BackgroundColor<> LightBlue\n"); sb.append("}\n"); - sb.append(String.format("class %s <> {\n}\n", moduleName)); + sb.append(String.format("class %s <> {%n}%n", moduleName)); for (Entity entity : entities) { - sb.append(String.format("class %s <> {\n", entity.getEntityName())); + sb.append(String.format("class %s <> {%n", entity.getEntityName())); List attributes = entity.getAttributes(); for (Attribute attribute : attributes) { sb.append(String.format(" %s : %s\n", attribute.getName(), attribute.getYangDataType()));