-
Notifications
You must be signed in to change notification settings - Fork 0
General Implementation
Main Responsible for starting the serverRunner in either online or offline mode. Arguments are --mode=offline or --mode=online
HashtagGraph The main storage class for the hashtagGraph generation. This class provides all the accessor methods to add nodes and edges to the graph structure. It also provides methods to increment node and edge weights. Lastly, it provides functionality to compute node and edge radii for d3, and additionally enables the export of node and edge data in JSON format for rendering.
SortedHashtagGraph This class extends HashtagGraph and is used in order to sort graph characteristics such as edge and node popularity. To do this, it also overrides a couple functions from HashtagGraph, such as getNodesAsJSON() and getEdgesAsJSON().
FrontEndHashtagGraph Helps to build the original graph for the offline mode. As referred to previously, this is done in order to alleviate resource usage and speed up performance. This graph will contain only a subset of the nodes and edges of the initial graph (original graph). In our current implementation only 200 nodes.
HashtagNode Class for nodes in the hashtagGraph. It provides accessor methods for both setting and getting the node name, Id, type, etc.
HashtagEdge Class for edges in the hashtagGraph. It provides accessor methods for both setting and getting the source of an edge, the target of this edge and its popularity rank when it is used in a SortedHashtagGraph.

