Summary: A user network visualisation
GitHub: https://github.com/merefield/discourse-user-network-vis
GitHub - merefield/discourse-user-network-vis: A plugin that creates a User Network Visualisation to show social links between users
Install: Follow the plugin installation guide.
Features
Presents your community as a network visualisation (Desktop/Tablet only).
Accessed via a menu item added automatically (can be turned off):
Get to it by hitting User Network
on the Sidebar/Dropdown menu or navigating to yoursite.com/usernetworkvis
- NB you have to be logged in as a registered user to see the vis.
-
the nodes represent users.
-
the links represent interactions on your forum - the more interactions, the thicker the line
- an interaction is the combination of Likes and Replies (this is the very same data that’s available on someone’s Summary profile page to all users)
-
Hover over a user to isolate them and their connections visually
-
Click on a node to navigate to their Summary profile.
-
Drag nodes around and watch the show
-
Zoom the entire view with the mouse wheel.
Trust levels are currently exposed as different colours. If you don’t want this, set the same colour several times. I may find another criterium to set colour, but this was the most obvious by far as very generic
To refresh data, Trigger the job. This may be necessary after a settings change (I’ve marked those that require it):
Go to: https://your.site/sidekiq/scheduler
and find this one:
Otherwise this runs every hour.
if you have 10,000’s of users, this job may run LONG and take up resources. Seems to work ok on a 5,000 account site running on a 2 Core 2GB VPS taking about 30 seconds. The SQL is necessarily BRUTAL
Interested in the data?
My intention with this was just to paint a picture.
If you want to see the data, just go to yoursite.com/usernetworkvis.json
In any case, in individual cases, you can see much of this data on each users summary page by clicking on a node (Most replied to, Most liked/liked by). I therefore consider it semi-public information.
Configuration
Settings … so … many … settings:
If you have a large site with lots of people on it, you are going to find the diagram very noisy. Consider upping minimum trust level
and there is now an option to remove people not seen for x years:
TODO
- The menu item has localisation support, but if no-one has yet PR’d your localisation yet, please consider doing so or otherwise it will remain a key code …
Creds
The visualisation is based on the awesome d3 library
Similar projects
If you like this you might also like: