How to hide certain Edges?

Aug 4, 2009 at 2:32 PM

I've created a graph which has 2 classes derived from TypedEdge - HierarchicalEdge and LinkEdge. In my model these represent a hierarchical or casually linked relationship./

I am using the Tree layout algorithm which works well for me,  but I would like to selectively hide or unhide my LinkEdge types based on a user choice. Is this possible?

The only thing I've seen that deals with the edges was the highlighting effects based on an EdgeControl. I'm having a bit of difficulty targeting my edges with calls such as <Style TargetType="{x:Type local:LinkEdge}">.

Any tips on how to accomplish this?