예제 #1
0
 /// <summary>
 /// Applies the specified node configuration to the node in question.
 /// </summary>
 /// <param name="nodeInfo">Information on the node currently being inspected.</param>
 /// <param name="nodeConfig">The expression for node configuration.</param>
 public void Apply(INodeInfo nodeInfo, INodeExpression nodeConfig)
 {
     nodeConfig.WithLabel(nodeInfo.Tag.ToString());
 }
 /// <summary>
 /// Applies the specified node configuration to the node in question.
 /// </summary>
 /// <param name="nodeInfo">Information on the node currently being inspected.</param>
 /// <param name="nodeConfig">The expression for node configuration.</param>
 public void Apply(INodeInfo nodeInfo, INodeExpression nodeConfig)
 {
     nodeConfig.WithFillColor(Color.LightSteelBlue).WithStyle(NodeStyle.Filled);
 }
 /// <summary>
 /// Applies the specified node configuration to the node in question.
 /// </summary>
 /// <param name="nodeInfo">Information on the node currently being inspected.</param>
 /// <param name="nodeConfig">The expression for node configuration.</param>
 public void Apply(INodeInfo nodeInfo, INodeExpression nodeConfig)
 {
     nodeConfig.WithFillColor(Color.Gainsboro).WithStyle(NodeStyle.Filled);
 }