Hi Marbella,
Thanks for using Syncfusion products,
We have analyzed the provided screenshot and tried to reproduce the mentioned scenario. The issue has been raised due to the incorrect Root property of the DataSourceSettings.
Please assign the property value of the ParentID in the root instead of assigning its property key. Refer to the below code snippet.
Code Snippet:
DataModel datamodel = new DataModel();
DataSourceSettings settings = new DataSourceSettings();
datamodel.Data();
settings.ParentId = "ReportingPerson";
settings.Id = "Name";
settings.Root = "Roland Mendel";
settings.DataSource = datamodel.employee;
diagram.DataSourceSettings = settings;
We have attached the sample for your reference.
Sample Link:
Please let us know if you need any further assistance.
Thanks,
Arun