private VisualStyle createVisualStyle(CustomStyle style, Collection<Calculator> nodeAppearanceCalculators,
Collection<Calculator> edgeAppearanceCalculators) {
String name = style.toString();
CySBML.LOGGER.config("createVisualStyle( " + name + " )");
VisualStyle vs = new VisualStyle(name);
VisualPropertyDependency deps = createVisualPropertyDependencies(vs);
// add node appearance
NodeAppearanceCalculator nac = new NodeAppearanceCalculator(deps);
for (Calculator nc: nodeAppearanceCalculators){
nac.setCalculator(nc);