I ran into a bug where a certain sidebar page wasn't forking new pages off of it. Opened links just were just disconnected. It only happened when forking from that particular sidebar page though.
I narrowed it down to Cytoscape mistakenly thinking that the edge had already been drawn. (It refuses to draw a duplicate edge in this case).
When I checked for the duplicate edge in the debugger, I saw that the Cytoscape filter was selecting the incorrect edges:
// Try to look for edges from Foo -> Bar
this.cy.$(`edge[source = "Foo"][target = "Bar"]`).target().id() // "Baz"
// It found an edge that didn't even go to Bar
It might've had something to emojis being in the title. I switched it to explicitly filtering and comparing ids, which seemed to fix the problem.
I ran into a bug where a certain sidebar page wasn't forking new pages off of it. Opened links just were just disconnected. It only happened when forking from that particular sidebar page though.
I narrowed it down to Cytoscape mistakenly thinking that the edge had already been drawn. (It refuses to draw a duplicate edge in this case).
When I checked for the duplicate edge in the debugger, I saw that the Cytoscape filter was selecting the incorrect edges:
It might've had something to emojis being in the title. I switched it to explicitly filtering and comparing ids, which seemed to fix the problem.