*/
protected void addEdges(AbstractView<?> way) {
mxGraphics2DCanvas.putShape(way.getShapeName(), way);
ArrayList<mxCell> edgeList = new ArrayList<mxCell>();
for (EdgeModel e : way.getEdges()) {
mxCell from = mapper.getFirstCell(e.getFromNode());
mxCell to = mapper.getFirstCell(e.getToNode());
if (from != null && to != null) {
mxCell e1 = (mxCell) modelGraph.insertEdge(
getZLevelLayer(way.getZLevel()), way.getShapeName(),
way, from, to, way.getStyle());
edgeList.add(e1);
}
}