RadiantQ WPF Gantt
Dependency Lines Rerouting
Previous Topic  Next Topic 

Dependency Lines Rerouting


Tasks with dependency lines could be in a collapsible hierarchy. If so, when such a task gets collapsed out of view, the dependency lines would be hidden as well. Like this:


Dependency Lines Before collapse


Disappearing dep lines after collapse


This could be undesirable in some scenarios and you could want to show the dependency lines rerouted through the parents, like this:


Dependency lines rerouted through the parent after collapse


This feature is illustrated in the sample <install path>\Samples\FlexyGantt\Appearance\FlexyGanttWithReroutedDepLines.


This feature is enabled by including a DependencyLinesReroutingManager which adds/deletes dependency lines to the view as the parents collapse/expand.


Note that your data objects representing dependency lines should implement the IFGDependencyInfo interface. And you have to provide information about your hierarchy to the gantt through some custom delegates passes through the DependencyLinesReroutingManager constructor.




� RadiantQ 2009 - 2019. All Rights Reserved.