double width = nodeView.getWidth();
double depth = 0.0;
Dimensions dim = new Dimensions(width, height, depth, level, version);
Point point = new Point(xpos, ypos, zpos, level, version);
BoundingBox box = new BoundingBox();
box.setLevel(level);
box.setVersion(version);
box.setPosition(point);
box.setDimensions(dim);
if (nodeType.equals(CySBMLConstants.NODETYPE_SPECIES)){
SpeciesGlyph sGlyph = new SpeciesGlyph();
sGlyph.setId(nodeId);
sGlyph.setVersion(version);