These source code samples demonstrate how to customize the visual representation of yFiles WPF graph elements.
The following programming samples are available in this category:
|Demo.yFiles.Graph.ControlStyles||Sample application that demonstrates the usage of NodeControlNodeStyle, PortControlPortStyle, LabelControlLabelStyle, and EdgeSegmentControlEdgeStyle.|
|Demo.yFiles.Graph.IntegratedNodeStyle||This demo shows a node style that renders its ports and labels, too, to display them with the same z-index.|
|Demo.yFiles.Graph.SelectionStyling||Demonstrates customized selecting painting of nodes, edges and labels by decorating these items with a corresponding style.|
|Demo.yFiles.Graph.SimpleCustomStyle||This demo shows how to create relatively simple custom styles.|
|Demo.yFiles.Graph.StyleDecorators||This demo shows how to decorate existing styles by wrapping them.|
This demo shows how to implement different styles for
|Demo.yFiles.Graph.UMLClassStyle||This demo shows a custom UML diagram style for nodes.|
|Demo.yFiles.Graph.VisualStateManager||Sample application that demonstrates the usage of NodeControlNodeStyle, PortControlPortStyle, LabelControlLabelStyle, and EdgeSegmentControlEdgeStyle using .net 4.0's Visual State Manager.|
Running the Demos
- If you have done a default installation of yFiles WPF, then you can just open the Visual Studio solution shortcuts for the programming samples that have been installed on your Desktop or in your Start Menu.