Example #1
0
 /// <summary>
 /// Устанавливает стиль узла
 /// </summary>
 /// <param name="builder"></param>
 /// <param name="arrow"></param>
 /// <returns></returns>
 public static IGraphEdgeBuilder SetArrowHead(this IGraphEdgeBuilder builder, Arrow arrow)
 {
     builder.Set(DotConstants.ArrowHeadAttribute, arrow);
     return(builder);
 }
Example #2
0
 /// <summary>
 /// Устанавливает стиль узла
 /// </summary>
 /// <param name="builder"></param>
 /// <param name="width"></param>
 /// <returns></returns>
 public static IGraphEdgeBuilder SetPenWidht(this IGraphEdgeBuilder builder, int width)
 {
     builder.Set(DotConstants.PenwidthAttribute, width);
     return(builder);
 }
Example #3
0
 /// <summary>
 /// Устанавливает стиль узла
 /// </summary>
 /// <param name="builder"></param>
 /// <param name="style"></param>
 /// <returns></returns>
 public static IGraphEdgeBuilder SetStyle(this IGraphEdgeBuilder builder, EdgeStyleType style)
 {
     builder.Set(DotConstants.StyleAttribute, style);
     return(builder);
 }