/// <summary> /// Adds the elements of another GraphvizLayerCollection to the end of this GraphvizLayerCollection. /// </summary> /// <param name="items"> /// The GraphvizLayerCollection whose elements are to be added to the end of this GraphvizLayerCollection. /// </param> public virtual void AddRange(GraphvizLayerCollection items) { foreach (GraphvizLayer item in items) { this.List.Add(item); } }
/// <summary> /// Initializes a new instance of the GraphvizLayerCollection class, containing elements /// copied from another instance of GraphvizLayerCollection /// </summary> /// <param name="items"> /// The GraphvizLayerCollection whose elements are to be added to the new GraphvizLayerCollection. /// </param> public GraphvizLayerCollection(GraphvizLayerCollection items) { m_Separators = ":"; this.AddRange(items); }
/// <summary> /// Builds enumerator /// </summary> /// <param name="collection"></param> public Enumerator(GraphvizLayerCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
/// <summary> /// Default contructor /// </summary> public GraphvizGraph() { m_Url=null; m_BackgroundColor=Color.White; m_IsCentered=false; m_ClusterRank=ClusterMode.Local; m_Comment=null; m_IsCompounded=false; m_IsConcentrated=false; m_Font=null; m_FontColor=Color.Black; m_Label=null; m_LabelJustification=LabelJustification.C; m_LabelLocation=LabelLocation.B; m_Layers=new GraphvizLayerCollection(); m_McLimit=1.0; m_NodeSeparation=0.25; m_IsNormalized=false; m_NsLimit=-1; m_NsLimit1=-1; m_OutputOrder=OutputMode.BreadthFirst; m_PageSize=new Size(0,0); m_PageDirection=PageDirection.BL; m_Quantum=0; m_RankSeparation=0.5; m_Ratio = RatioMode.Auto; m_IsReMinCross=false; m_Resolution=0.96; m_Rotate=0; m_SamplePoints=8; m_SearchSize=30; m_Size=new Size(0,0); m_StyleSheet=null; }