コード例 #1
0
ファイル: GraphvizAlgorithm.cs プロジェクト: tmauldin/mb-unit
 /// <summary>
 /// Raises the <see cref="FormatCluster"/> event.
 /// </summary>
 /// <param name="cluster"></param>
 protected virtual void OnFormatCluster(IVertexAndEdgeListGraph cluster)
 {
     if (FormatCluster != null)
     {
         FormatClusterEventArgs args =
             new FormatClusterEventArgs(cluster, new GraphvizGraph());
         FormatCluster(this, args);
         string s = args.GraphFormat.ToDot();
         if (s.Length != 0)
         {
             Output.WriteLine(s);
         }
     }
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: ScottWeinstein/ILUnMerge
 void renderer_FormatCluster(object sender, FormatClusterEventArgs e)
 {
     throw new Exception("The method or operation is not implemented.");
 }
コード例 #3
0
 /// <summary>
 /// Raises the <see cref="FormatCluster"/> event.
 /// </summary>
 /// <param name="cluster"></param>
 protected virtual void OnFormatCluster(IVertexAndEdgeListGraph cluster)
 {
     if (FormatCluster!=null)
     {
         FormatClusterEventArgs args =
             new FormatClusterEventArgs(cluster, new GraphvizGraph());
         FormatCluster(this,args);
         string s=args.GraphFormat.ToDot();
         if (s.Length!=0)
             Output.WriteLine(s);
     }
 }