Bovlb added a comment.
> Note that we currently use vis, not visjs-network. Ah. My mistake, sorry. I was making an educated guess about the underlying library. So it looks like the library we're using was EOLed in March 2019. Is an upgrade on the road map? I may be wrong, but I'm thinking the relevant documentation is here: https://github.com/almende/vis/blob/master/docs/network/layout.html#L100 I do not see any equivalent of "shakeTowards". The documentation says: > Directed adheres to the to and from data of the edges. A --> B so B is a level lower than A. The library does not appear to be honoring this in the example I give. That could be an unrelated bug in the library, but I suspect it is because it is using the shakeTowards=leaves algorithm, which is confused by the multiple paths of different lengths, as described above. TASK DETAIL https://phabricator.wikimedia.org/T250299 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bovlb Cc: Lucas_Werkmeister_WMDE, Aklapper, Bovlb, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs