kittsville / Pyroon

An interactive visualisation library of Reddit's switch-a-roos
http://pyroon.sci1.uk/
MIT License
0 stars 0 forks source link

Integrate link to comments to JSON/front-end #6

Closed kittsville closed 7 years ago

kittsville commented 7 years ago

It's currently very difficult to get from the JSON data or the front-end that uses said data to the original roo comments. It would be very helpful if:

  1. The original link that led to the node was stored in the JSON
  2. The front-end made this accessible

Later with the whole fancy sidebar front-end planned it can be included there but for now just having clicked links open a new tab would be great.

kittsville commented 7 years ago

It's worth noting that multiple roos might like to one, when roo chains merge e.g.:

A     E
|     |
B--C--F
   |
   D

This would mean a single roo has two links going to it. As such I suggest both the edges of the graph (the links) and the nodes (the roos) have their own links.

kittsville commented 7 years ago

I might just close this issue ahead of fancier integration with the sidebar. There'll be an issue for sidebar creation where all the display of basic roo details will be handled.