Research Article
A New Graph Drawing Scheme for Social Network
Algorithm 1
Community partition algorithm.
Input: Graph | Output: New graph after Community partition | compressGraph(Graph ) | for each in , do | u_e.node1; v_e.node2; | // Compute the single neighbours, 3-circles common neighbours and 4-circles common neighbours of and . | computesES(); | maxESmax(Set(ES)); minESmin(Set(ES)); | thresholdcomputeThresh(maxES, MinES); | filterLowEdges(, threshold); | computeComponent(); | for each component in g.components | newNodecompSubG(); newG.add(newNode); | newG.addEdges(); |
|