visObj.setAspectInstancePath(electrical.getInstancePath());
visObj.setVisualObjectId(sphere.getId());
TextMetadataNode text = new TextMetadataNode("Text");
text.setValue(new DoubleValue(2));
URLMetadataNode url = new URLMetadataNode("URL");
url.setValue(new DoubleValue(2));
url.setURL("hhtp://url.com");
FunctionNode function = new FunctionNode("Function");
function.setExpression("x=y^2");
function.setName("hello");