Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1405
Custom XamDiagram Representation
posted

Hi,

I need a representation as attached. The below link fulfills half of my requirement.

http://help.infragistics.com/Help/Doc/WPF/2014.2/CLR4.0/html/xamDiagram_Binding_to_Hierarchical_Node_Data_with_References.html

My Implementation has below class structure:

public class Employee : INotifyPropertyChanged

{

private string _name;

public string Name { get { return _name; } set { _name = value; OnPropertyChanged("Name"); } }

private ObservableCollection<Employee> subordinates;

public ObservableCollection<Employee> Subordinates { get { return subordinates; } set { subordinates = value; } }

public event PropertyChangedEventHandler PropertyChanged;

protected void OnPropertyChanged(string propertyName) { if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); }

}

I'm not able to make the lower portion of the image (nodes linked to each other from left to right). The representation should flow from Left to Right.

Can anyone please help me in this.

Note: I'm using XamDiagram 14.2. You can assume, that I'm able to add XamDiagram and playaround it.

Parents Reply Children
No Data