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