map.putMapValue("SBO:0000019", ArrowShape.CIRCLE); //MODIFIER
return new BasicCalculator(createCalculatorName(style, pType), map, pType);
}
public static Calculator createEdgeLineStyleCalculator(CustomStyle style){
VisualPropertyType pType = VisualPropertyType.EDGE_LINE_STYLE;
DiscreteMapping map = new DiscreteMapping(LineStyle.class, CySBMLConstants.ATT_SBOTERM);
map.putMapValue("SBO:0000459", LineStyle.SOLID); //STIMULATOR
map.putMapValue("SBO:0000020", LineStyle.DASH_DOT); //INHIBITOR
map.putMapValue("SBO:0000019", LineStyle.DASH_DOT); //MODIFIER
map.putMapValue(CySBMLConstants.EDGETYPE_REACTION_PRODUCT, LineStyle.SOLID);
return new BasicCalculator(createCalculatorName(style, pType), map, pType);
}