Open nathak opened 4 years ago
@nathak thanks for reaching out.
As mentioned in the docs, dagMode
(Directed Acyclic Graph) only works if your data has no loops. So yes, if you want to plot your data using the DAG layout constraint, make sure to remove the cycle in it.
@vasturiano thank you for answer.
Doesn't it support layout that supports ring network?
You can just disable the dagMode
and let the force-directed engine do its work. Like in this example: https://vasturiano.github.io/force-graph/example/curved-links/
Problem Test Data
[console] error] Uncaught Invalid DAG structure Found cycle in node path: 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7-> 8 -> 1
I get an error. Is the data a problem?