Supervised Project · Shenkar · Software Engineering

NetXplore

A social-discourse analysis system that models conversations as networks, with graph metrics, community structure, anonymization and interactive visualization.

2025Tslil Aharon · Noy Raichman · Shira Dagan-RobertsSocial network analysisGraph metricsCommunity detectionInteractive visualizationPrivacy
Project idea

Making conversation networks explorable.

NetXplore is a final project from Shenkar's Software Engineering Department. It analyzes social discourse by representing conversations as networks and lets users explore them interactively, with graph metrics, community structure and anonymization.

How it works

From a chat log to an interactive network.

A researcher uploads a WhatsApp text export or a Wikipedia talk page. NetXplore turns the raw conversation into a graph in which participants are nodes and interactions are edges, then analyzes and compares that graph.

1. Ingest and clean

The raw export is parsed, cleaned and converted into a structured list of messages, senders and timestamps.

2. Anonymize and weight

Participant identifiers are replaced or masked, and the Distance Weighted Ranking algorithm (below) assigns edge weights.

3. Build the graph

Messages become a directed graph of who replied to whom, built by a FastAPI backend with NetworkX and stored in PostgreSQL.

4. Measure

Centrality measures and community detection summarize each participant's role and the network's groups.

5. Explore and compare

Filters by date, keyword and user, and side-by-side comparison of two conversations, in an interactive visualization.

6. Export

Results, applied filters and key findings can be exported as CSV or Excel files and as a summary report.

NetXplore architecture diagram: a researcher uses a React interface to upload WhatsApp or Wikipedia data, which is parsed, cleaned and converted, then anonymized and weighted before a FastAPI and NetworkX backend with a PostgreSQL database builds the graph and runs network analysis.
NetXplore's architecture: a React interface, a preprocessing chain, anonymization and the DWR algorithm, and a FastAPI, NetworkX and PostgreSQL backend that builds and analyzes the graph. Figure from the student final report. Select the image to open it full size.
Implementation

A research platform for WhatsApp and Wikipedia discourse.

The public repository documents ingestion of WhatsApp text exports and Wikipedia discussion data, network construction, community detection, centrality measures, filtering, cross-group comparison and export of results.

The implementation uses a React frontend, FastAPI backend, PostgreSQL database and NetworkX-based graph analysis.

Publicly documented capabilities

  • Degree, betweenness, closeness, eigenvector and PageRank centrality
  • Community detection
  • Date, keyword and user filters
  • Cross-group comparison
  • Participant anonymization
  • CSV and Excel export
Distance Weighted Ranking

Who influenced whom, not only who replied to whom.

A chat log shows who wrote what and when, but not the interaction structure. NetXplore first builds a directed graph in which each message is linked to the message it directly replies to, with weight 1. On WhatsApp the reply target is inferred from message order; on Wikipedia talk pages it comes from indentation and quoting.

A plain reply graph treats only the immediate predecessor as influence. The report's custom Distance Weighted Ranking (DWR) algorithm extends it: each message is also linked to a configurable number of earlier messages (2 or 3 in the workflow), with weights that fall the further back the message is, for example 0.6 and then 0.4. A message therefore carries the residual influence of the preceding conversation, not only its last turn. An optional normalization makes each node's incoming weights sum to 1, so participants are compared by their relative share of influence rather than by raw message counts.

Ranking by degree counts links regardless of how far apart the messages are; DWR makes the distance in the conversation part of the weight. It applies only to directed graphs, since it depends on message order. The report presents it as inspired by mixed-memory Markov models of conversational turn-taking (Choudhury and Basu, 2004).

DWR workflow: choose a history length of two or three previous messages, choose default or dynamic weights, build weighted edges, optionally normalize, and generate the graph visualization.
The DWR workflow: choose a history length, choose a weighting mode, build weighted edges, optionally normalize, then visualize. Figure from the student final report. Select the image to open it full size.
Reading the numbers

What the metrics in the interface mean.

The table below shows a 21-participant network with 39 links and 5 communities (labels are neutral; names were replaced). Each column answers a different question about a participant's position.

Degree

How many other participants someone is directly linked to, normalized by network size.

Betweenness

How often someone lies on the shortest paths between others. High values (such as 0.59 for User 02) mark brokers who connect otherwise separate parts of the conversation.

Closeness

The inverse of the average distance to everyone else: how quickly someone can reach the whole network.

Eigenvector and PageRank

Influence that counts the quality of connections, not only their number: being linked to well-connected participants raises the score.

Community

A group of participants who interact more with each other than with the rest. Here the network splits into five.

Why several measures

They answer different questions, so a participant can be central by one measure and peripheral by another, which is why the interface shows them side by side.

NetXplore interface showing the Network Data Table for a network of 21 nodes and 5 communities, with community, degree, betweenness, closeness, eigenvector and PageRank values for each participant.
The Network Data Table in the NetXplore interface, listing centrality metrics and community membership for each node. Screenshot from the student final report; participant names replaced with neutral labels. Select the image to open it full size.
Related

Related work

Sockpuppet Detection: Network Analysis and SNA →

Interaction-network analysis of Wikipedia discussions, looking for structural signatures of sockpuppetry.

Project materials

Final report and public repository.

The student final report, the official Shenkar project page and the repository with the web application source.

Supervised project

Final project, Shenkar Software Engineering, 2025.

Built by Tslil Aharon, Noy Raichman and Shira Dagan-Roberts.