I am basically using the LinksInto and LinksOutOf properties to set the visibility of “Show/Hide Children” and “Show/Hide Parents” buttons on my Nodes.
I use a converter to convert the LinksInto property to a Visiblility, Collapsed or Visible and Bind to Node.LinksInto using the converter in xaml.
This works fine the first time I load the diagram, and hides/shows the buttons correctly, however if I then refresh the diagram by setting the nodesource again (the underlying data can change), the LinksInto and LinksOutof counts always return 0.
What am I doing wrong ?
Incedently, what is the best way to get the chart to redraw, sometimes we have different charts on multiple tabs, and when we switch tabs, the control only seems to draw the first node, although all links are drawn, when we scroll the view the nodes reappear.