public override void WriteGraphMLEdge(GraphFileFormat format, Edge e) { string str = ""; if (e.Extension != null) { str = e.Extension.ToString().Replace("&", "&").Replace("<", "<").Replace(">", ">"); } format.Writer.WriteLine("<data key=\"d1\"><y:PolyLineEdge><y:BendStyle smoothed=\"true\"/><y:LineStyle type=\"line\" color=\"#000000\"/><y:EdgeLabel modelName=\"six_pos\" fontFamily=\"Lucida Console\" fontSize=\"10\">{0}</y:EdgeLabel><y:Arrows target=\"standard\"/></y:PolyLineEdge></data>", str); }
public override void WriteGraphMLVertex(GraphFileFormat format, object v) { string str = ""; if (v != null && v.ToString() != null) { str = v.ToString().Replace("&", "&").Replace("<", "<").Replace(">", ">"); } format.Writer.WriteLine("<data key=\"d0\"><y:ShapeNode><y:Geometry width=\"{1}\"/><y:NodeLabel modelPosition=\"tl\" fontFamily=\"Lucida Console\" fontSize=\"10\">{0}</y:NodeLabel></y:ShapeNode></data>", str, str.Length * 8); }
public abstract void WriteVertexAttributes(GraphFileFormat format, object v);
public abstract void WriteEdgeAttributes(GraphFileFormat format, Edge e);
public abstract void WriteGraphMLVertex(GraphFileFormat format, object v);
public abstract void WriteGraphMLEdge(GraphFileFormat format, Edge e);
public override void WriteVertexAttributes(GraphFileFormat format, object v) { WriteGraphMLVertex(format, v); }
public override void WriteEdgeAttributes(GraphFileFormat format, Edge e) { WriteGraphMLEdge(format, e); }