I'm having trouble manipulating the connections in the XamNetworkNode. I can successfully set up nodes and connections, but I would like to control the visibility of connections similarly to how I control the visibility of nodes. I have tried manipulating the ConnectionWeightMemberPath in NetworkNodeNodeLayout like I'm currently using ConnectionTargetMemberPath, but I am not seeing any change in the weight of the connection at all.
Is there a way to manipulate the visibility of a connection between nodes?
Hello again,
You can also see this forum thread:
http://es.infragistics.com/community/forums/t/67124.aspx
where it is explained how to format the connections. Also here you can read more about the Property used for this:
http://help.infragistics.com/doc/WPF/2013.2/CLR4.0/?page=InfragisticsWPF4.Controls.Maps.XamNetworkNode.v13.2~Infragistics.Controls.Maps.XamNetworkNode~DefineConnectionCallback.html
Hope this helps you.
My question was in response to:
Eventually, xamNetworkNode will support conditional formatting by connection, and that's where ConnectionWeight will come into play. At the moment, you can only specify node distance (i.e., the length of the connections) globally.
The conditional formatting sample only formats the nodes. Is connection formatting scheduled to be supported in the next few releases?
Hello Kayla,
Here is a sample showing the functionality Douglas was talking about (Conditional Formatting):
http://es.infragistics.com/products/wpf/sample/network-node/conditional-formatting
Has there been any movement on this? I'd like to add some edge formatting, or even just display the weight.
Thanks.
ConnectionWeightMemberPath doesn't do anything yet.