/** * */ public mxIShape getShape(Map<String, Object> style) { String name = mxUtils.getString(style, mxConstants.STYLE_SHAPE, null); mxIShape shape = shapes.get(name); if (shape == null && name != null) { shape = mxStencilRegistry.getStencil(name); } return shape; }
/** * */ public mxIShape getShape(Map<String, Object> style) { String name = mxUtils.getString(style, mxConstants.STYLE_SHAPE, null); mxIShape shape = shapes.get(name); if (shape == null && name != null) { shape = mxStencilRegistry.getStencil(name); } return shape; }
mxStencil stencil = mxStencilRegistry.getStencil(node .getAttribute("name"));
mxStencil stencil = mxStencilRegistry.getStencil(node .getAttribute("name"));