コード例 #1
0
 /// <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);
     }
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <summary>
 /// Builds enumerator
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(GraphvizLayerCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
コード例 #4
0
 /// <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);
     }
 }
コード例 #5
0
ファイル: GraphvizGraph.cs プロジェクト: taoxiease/asegrp
 /// <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;
 }
コード例 #6
0
 /// <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);
 }
コード例 #7
0
 /// <summary>
 /// Builds enumerator
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(GraphvizLayerCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }