Recently I have been asked a few questions about how the tag graph was implemented. So I figured ...
Public Lab is an open community which collaboratively develops accessible, open source, Do-It-Yourself technologies for investigating local environmental health and justice issues.
Public Lab chatroom
Reset your password
bsugar asked on January 25, 2018 19:49
133 views | 2 answers | #15614
Recently I have been asked a few questions about how the tag graph was implemented. So I figured it might be good to have a public space to answer them!
Some preliminary questions:
Please add any questions of your own and I'll hop back on to answer!
EDIT: I'll be posting more as soon as we can figure out where to place some files so they are publicly accessible.
Log in to comment
1) If 2 tags belong to same node , they have an edge between them ?
The tags don't belong to nodes, the nodes are actually the tags themselves. Each "tag node" as it were, has an edge between them when they occur on the same page on the plots website. I believe that goes for any page be it a research note or a wiki page. Take the following page (whoa meta) for example: Here you see the tags are:
The nodes are:
The un-directed edges are:
2.) The different colors is for different types of node like questions , notes , research-notes , etc . ?
The colors relate to the "community" the nodes (tags) belong to. Take a look at this image @cfastie posted:
Follow up: @sagarpreet, in exploring export options for a different project, I just discovered that you can extract the visual attributes (i.e. color, size, positions) by exporting to one of the files that supports this (see matrix image here). Open the .gephi file, then go to File --> Export --> Graph File. When you choose a supported file format, the "Options" button should become "clickable". Click on it, and make sure to check off the boxes for any attributes you'd like.
Personally, since I do have an interest in web visualizations, but I do not have an interest in figuring out how to implement algorithms for things like community detection and calculating node sizes, I think this is a great way to quickly translate the static visualizations from gephi into something dynamic. The other plus is that I'd prefer to see changes I made update in real time without having re-run the program again.
Again, for all others, we'll get some files up real soon!
Sign up or Login to post an answer to this question.
Looking for input on a simplified "subscribe" design for PublicLab.org posts
updated 22 days ago
What are your thoughts on this initial sketch for a Tag page on PublicLab.org?
updated 4 months ago
How do we address the issue of people posting the same or very similar questions?
updated 5 months ago
evaluation notes: community segments -- not what you think!
updated 5 months ago
Browser notifications for answers to your questions?
updated 6 months ago
What do you think about this new design sketch for a Welcome page?
How do we do user interface design work in a community process?
updated 7 months ago
Is anyone studying or writing about the rise in Codes of Conduct in open source projects?
updated 8 months ago