Circular Dependency message
Last updated
Last updated
If you encounter a circular dependency error as shown in the image:
The visual requires a clear and organized Id and PId data structure to create a hierarchical view. Although the visual logic is designed to handle a range of scenarios, some data structures may still not support hierarchy determination. In these cases, warning messages may appear to indicate the issue.
It is advised to clean or filter out such data to plot the hierarchy. If you are looking for connections between the nodes, then instead use Links.
Then these scenarios could be the possible reasons:
ID = Parent ID:
You encounter a circular dependency error when your ID is equal to PID in dataset, as shown in the image below:
Two or more nodes are parents to each other:
You encounter a circular dependency error when two or more nodes are parents to each other in dataset, as shown in the image below:
These scenarios do not align with the expected structure for a hierarchy view in the visual and make it difficult to create the correct hierarchy structure based on the dataset.