diff --git a/SBOLCanvasBackend/src/utils/SBOLData.java b/SBOLCanvasBackend/src/utils/SBOLData.java index 8464e895..f83a8c37 100644 --- a/SBOLCanvasBackend/src/utils/SBOLData.java +++ b/SBOLCanvasBackend/src/utils/SBOLData.java @@ -177,10 +177,12 @@ public static String[] getRefinement(String parentName){ TreeSet refinementNames = new TreeSet(); if (roles.getValue(parentName) != null) { Set descendants = so.getDescendantURIsOf(roles.getValue(parentName)); + for(URI uri : descendants) { refinementNames.add(so.getName(uri)); } } + return refinementNames.toArray(new String[0]); } diff --git a/SBOLCanvasFrontend/src/assets/glyph_stencils/indicators/composite.xml b/SBOLCanvasFrontend/src/assets/glyph_stencils/indicators/composite.xml index bd6b099f..ff2b3e6e 100644 --- a/SBOLCanvasFrontend/src/assets/glyph_stencils/indicators/composite.xml +++ b/SBOLCanvasFrontend/src/assets/glyph_stencils/indicators/composite.xml @@ -5,7 +5,7 @@ - + @@ -34,12 +34,12 @@ - + - + \ No newline at end of file