usaybia / srophe-eXist-app

eXist code for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
1 stars 0 forks source link

Create main network viz page #66

Open nathangibson opened 3 years ago

nathangibson commented 3 years ago

@wsalesky I can fill in more detail on this later. In general, I'd like this to be the main view for advanced browse on persons, maybe even for the website home page as well.

The network could center on https://usaybia.net/person/926 and start with what you've developed for the person detail pages, just bigger and more degrees :-)

wsalesky commented 3 years ago

@nathangibson Do you want all relationships with a center point on https://usaybia.net/person/926, or just all relationships related to https://usaybia.net/person/926 to say the 3rd or 4th degree?

nathangibson commented 3 years ago

Hmm, I'm sure all relationships would be too much to take in visually. Let's start with persons connected to https://usaybia.net/person/926 by 3 degrees. Then the next step would be how we load the further network of someone selected there. If you want to export the relationship list to JSON and cache it that way that's totally fine.

wsalesky commented 3 years ago

@nathangibson I have a version of this locally, but with a vis this large it moves very slowly, usability increases dramatically when I remove the edge labels. I'm going to rethink how relationships are displayed, maybe adding them to the popup box rather than drawing them into the visualization. How does that sound to you? Should have something early this week for testing.

nathangibson commented 3 years ago

A pop-up for relationships would be fine! Also, would it help to use JSON as an intermediate format? Or RDF?

wsalesky commented 3 years ago

This version is already using a precompiled JSON file. However the vis naturally just slowdown the more elements that are added. So the best way to speed it up is to have only the elements we need drawn. You can see here http://www.sixdegreesoffrancisbacon.com/?ids=10000473&min_confidence=60&type=network where the initial load is a little slow and jittery.

wsalesky commented 3 years ago

See the latest pull request for issue56b to review this. https://github.com/usaybia/srophe-eXist-app/pull/87

lunadine commented 3 years ago

@nathangibson not sure if this is the right place for my suggestion, but I just saw something neat on https://footprints.ctl.columbia.edu/ which might also be of interest for your visualizations (though you may already have considered this). If you click on pathmapper on the footprint webpage they provide the option to create and put several layers of networks on top of each other. One can then activate and deactivate the selected networks. This might come in handy if one wanted to visualize factoids that may stand in relation to another e.g., one could visualize all patron-ship networks and examine it together with a network of enmities. Just an idea.