map.putMapValue(CySBMLConstants.EDGETYPE_TRANSITION_INPUT, Color.BLACK);
return new BasicCalculator(createCalculatorName(style, pType), map, pType);
}
public static Calculator createEdgeOpacityCalculator(CustomStyle style){
VisualPropertyType pType = VisualPropertyType.EDGE_OPACITY;
DiscreteMapping map = new DiscreteMapping(Integer.class, Semantics.INTERACTION);
Integer opacity = 200;
map.putMapValue(CySBMLConstants.EDGETYPE_REACTION_PRODUCT, opacity);
map.putMapValue(CySBMLConstants.EDGETYPE_REACTION_REACTANT, opacity);
map.putMapValue(CySBMLConstants.EDGETYPE_REACTION_MODIFIER, opacity);