Beispiel #1
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();
 }
Beispiel #2
0
 void InitAttributes()
 {
     attr = new GraphAttr();
     //     CreateSelectedNodeAttr();
     //     CreateSelectedEdgeAttr();
 }
Beispiel #3
0
 static void WriteGraphAttr(GraphAttr graphAttr)
 {
 }