コード例 #1
0
 private void WriteGraphAttr(GraphAttr graphAttr)
 {
     this.WriteStartElement(Tokens.GraphAttribute);
     WriteBaseAttr(graphAttr);
     this.WriteMinNodeHeight();
     this.WriteMinNodeWidth();
     this.WriteAspectRatio();
     this.WriteBorder();
     WriteColorElement(Tokens.BackgroundColor, graphAttr.BackgroundColor);
     WriteStringElement(Tokens.Margin, graphAttr.Margin);
     WriteStringElement(Tokens.OptimizeLabelPositions, graphAttr.OptimizeLabelPositions);
     WriteStringElement(Tokens.NodeSeparation, graphAttr.NodeSeparation);
     WriteStringElement(Tokens.LayerDirection, graphAttr.LayerDirection);
     WriteStringElement(Tokens.LayerSeparation, graphAttr.LayerSeparation);
     this.WriteEndElement();
 }
コード例 #2
0
 static void WriteGraphAttr(GraphAttr graphAttr)
 {
 }
コード例 #3
0
 void InitAttributes()
 {
     attr = new GraphAttr();
 }
コード例 #4
0
 void InitAttributes()
 {
     attr = new GraphAttr();
     //     CreateSelectedNodeAttr();
     //     CreateSelectedEdgeAttr();
 }
コード例 #5
0
 static void WriteGraphAttr(GraphAttr graphAttr)
 {
 }
コード例 #6
0
 void InitAttributes() {
     attr = new GraphAttr();
     //     CreateSelectedNodeAttr();
     //     CreateSelectedEdgeAttr();
 }
コード例 #7
0
 private void WriteGraphAttr(GraphAttr graphAttr) {
     WriteStartElement(Tokens.GraphAttribute);
     WriteBaseAttr(graphAttr);
     WriteMinNodeHeight();
     WriteMinNodeWidth();
     WriteAspectRatio();
     WriteBorder();
     WriteColorElement(Tokens.BackgroundColor, graphAttr.BackgroundColor);
     WriteStringElement(Tokens.Margin, graphAttr.Margin);
     WriteStringElement(Tokens.OptimizeLabelPositions, graphAttr.OptimizeLabelPositions);
     WriteStringElement(Tokens.NodeSeparation, graphAttr.NodeSeparation);
     WriteStringElement(Tokens.LayerDirection, graphAttr.LayerDirection);
     WriteStringElement(Tokens.LayerSeparation, graphAttr.LayerSeparation);
     WriteEndElement();
 }