* @param v mxCell where data are obtained.
*/
public static void addEdgeData(mxGmlEdge gmlEdge, mxCell v)
{
mxGmlData data = new mxGmlData();
mxGmlShapeEdge dataShapeEdge = new mxGmlShapeEdge();
data.setDataKey(mxGmlConstants.KEY_EDGE_ID);
dataShapeEdge.setText(v.getValue() != null ? v.getValue().toString()
: "");
dataShapeEdge.setStyle(v.getStyle() != null ? v.getStyle() : "");
data.setDataShapeEdge(dataShapeEdge);
gmlEdge.setEdgeData(data);
}