public virtual void SetNodeCustomization(graphWrapNode <LeafNodeDictionaryEntry> sourceNode, Node targetNode, DirectedGraphStylingCase styleCase) { //if (sourceNode.item != null) //{ // switch (sourceNode.item.Category) // { // case "Structure": // break; // case "Static": // targetNode.Background = Color.LightBlue.ColorToHex(); // break; // case "Dynamic": // targetNode.Background = Color.Orange.ColorToHex(); // break; // default: // break; // } //} }
public virtual void SetLinkCustomization(graphWrapNode <LeafNodeDictionaryEntry> parent, graphWrapNode <LeafNodeDictionaryEntry> child, Link link, DirectedGraphStylingCase styleCase) { //if (child.item != null) //{ // if (child.item.Category.HasFlag() // { // link.StrokeDashArray = "3,3,6,3"; // link.Label = child.item.Content; // } //} }