rmit-programming-club / network-vis

A tool to visualisation coding activity and collaboration within a Github Organisation
GNU General Public License v3.0
9 stars 2 forks source link

Connectivity graph of those connected to user #33

Open thundergolfer opened 6 years ago

thundergolfer commented 6 years ago

Description

On the user metrics page (/profiles/<org name>/<member username>) we want to show a simple graph with the member at the centre and then directly connected nodes for each organisation member they're connected to by collaboration.

The data structure underneath this graph is super simple. eg.

{ 'user one': 5, 'user two': 4, 'user three': 1, ...} 

Where the value represents the 'level' of collaboration between the current user and the keyed user. Just how this 'level' is calculated is undecided but a simple way would be a point system like:

1 point if current user follows target user 1 point if current user is followed by target user 1 point for each repository they've both contributed to recently


Dependency

The data to construct this graph should be pulled from the database and not from API calls. API calls are only made to put data in the database if it isn't there already.

The data model is in place but as of 21st July 2017 we haven't yet written code to make the API code if data is not available in database.

thundergolfer commented 6 years ago

See https://github.com/rmit-programming-club/network-vis/wiki/Page-Mockups for a sketch mockup of the /profiles/<org name>/<members name> page