Skip to content

Network Generation

The application can recreate famous social network analysis datasets (e.g., Knoke: Bureaucracies Network) or generate random networks using graph theory models such as the Barabási–Albert model for scale-free networks and the Watts-Strogatz model for small-world networks.

SocNetV can also create “networks” of linked webpages using the built-in Web Crawler, which maps hypertext links between webpages starting from a given webpage or website.


Recreating Famous Datasets

SocNetV allows you to recreate a variety of well-known social network datasets. These networks are commonly used in social network analysis (SNA) research and provide valuable insights into real-world relationships and structures. Here’s the list of supported datasets and their background:

  • Krackhardt: High-tech Managers
    A network of 21 managers in a US high-tech company. It captures advice, friendship, and hierarchical “reports-to” relationships. This dataset is frequently used to study organizational behavior and power dynamics within corporate structures.

  • Padgett: Florentine Families
    This Renaissance-era dataset maps marital and business ties among 16 influential families in Florence, Italy. It illustrates the interplay of economic and social alliances and highlights the Medici family’s pivotal role in political stability and dominance.

  • Zachary: Karate Club
    A well-known network of 34 members from a university karate club, this dataset famously illustrates a social group’s division into two factions following a conflict. It is a classic example in SNA research for studying community structures and group dynamics.

  • Bernard: Killworth Fraternity
    A multirelational dataset of 58 fraternity members, capturing various social ties such as friendships, advice, and collaborations. It is often used to analyze multiplex relationships in small, close-knit communities.

  • Galaskiewicz: CEOs and Clubs
    This affiliation dataset represents social and professional connections among CEOs and their spouses through memberships in exclusive clubs and corporate boards. It highlights the role of elite networks in power consolidation and influence.

  • Freeman’s EIES Network
    A multirelational network of 32 social scientists collaborating on the “Experimental Interpersonal Environment Study” (EIES). It captures advice, trust, and other professional relationships among participants.

  • Knoke: Bureaucracies Network
    A network depicting information and monetary relationships among 10 US organizations. This dataset is instrumental in studying interorganizational exchange and network governance.

  • Mexican Power Network
    This historical network reveals the power structure in Mexico during the 1940s, including relationships between political figures, business elites, and institutions.

  • Campnet
    Captures interactions among 18 individuals during a 3-week workshop. The dataset records the frequency and duration of time spent together, making it a useful case for studying informal socialization and group cohesion.

  • Herschel Graph
    A mathematical graph representing the smallest non-Hamiltonian polyhedral graph, with 11 nodes and 18 edges. It is a classic example in graph theory and topology studies.

  • Thurman: Office Networks and Coalitions
    This network represents interactions among 15 employees in an international corporation. It captures both formal organizational ties and informal coalitions, offering insights into workplace dynamics.

  • Additional Datasets
    SocNetV includes several other well-known datasets for research and educational purposes, not explicitly listed here.

SocNetV continues to expand its library of predefined datasets to support a variety of network analysis needs. Stay tuned for the coming releases to uncover more networks and experiment with their unique structures and properties.

To recreate a dataset:

  1. From the File menu, select “Create Known Dataset” or press F7.

  2. A dialog will appear where you can select a dataset from the list above.

  3. Press “OK,” and the selected network will be displayed on the canvas.

SocNetV v3.6 visualizing Padgett's Florentine Families — directed network of 16 Renaissance families with Fruchterman-Reingold layout; node color and size encode Betweenness Centrality, with the Medici family dominant in red at centre


Random Network Creation

SocNetV can generate random networks based on various graph theory models, including:

Scale-Free (S-F) Networks

A scale-free network has a degree distribution that follows a power law. Actors with degrees much higher than average are common and are known as “hubs.”

The probability P(k)P(k) that a node has degree kk is:

P(k)kγP(k) \sim k^{-\gamma}

where γ\gamma typically satisfies 2<γ<32 < \gamma < 3.

SocNetV generates scale-free networks using the Barabási–Albert (BA) model. The algorithm begins with m0m_0 connected nodes. In each step, a new node is added with mm edges. The probability pip_i that the new node connects to an existing node ii is:

pi=α+dipjdjp_i = \frac{\alpha + d_i^p}{\sum_j d_j}

where:

  • α\alpha: Initial attractiveness of each node.
  • did_i: Degree of node ii.
  • jdj\sum_j d_j: Sum of all node degrees.

If α=0\alpha = 0 and p=1p = 1, the preferential attachment is linear, which corresponds to the BA model.

SocNetV v3.6 Barabási–Albert scale-free undirected network — radial layout with nodes colored by Betweenness Centrality (blue → red); a handful of high-BC hubs appear near the centre while the majority of low-degree nodes form the outer ring, clearly illustrating the power-law degree distribution Barabási–Albert scale-free undirected network — radial BC layout. A few high-centrality hubs dominate the inner ring while most nodes remain on the periphery.


Small-World (SW) Networks

Small-world random networks are characterized by short average path lengths and high clustering. SocNetV uses the Watts-Strogatz model to generate such SW random networks.

Given NN nodes, mean degree KK (assumed to be an even integer), and a rewiring probability β\beta, satisfying 0β10 \le \beta \le 1 and NKln(N)1N\gg K \gg \ln(N)\gg 1, the model generates an undirected graph with NN nodes and NK2\frac{NK}{2} edges as follows:

  1. Create a regular ring lattice with NN nodes, each connected to K/2K/2 neighbors on each side.
  2. For each edge (ni,nj)(n_i, n_j) with i<ji < j, rewire it with probability β\beta. Rewiring replaces (ni,nj)(n_i, n_j) with (ni,nk)(n_i, n_k), where kk is chosen uniformly, avoiding self-loops (kik \neq i) and duplicate edges.

To generate a small-world network, go to Network > Create Random Network > Small World, then specify the number of nodes (NN), mean degree (KK), and rewiring probability (β\beta).

SocNetV v3.6 Watts-Strogatz small-world network (N=260, E=1040) — radial layout with nodes colored by Betweenness Centrality (blue → red); the characteristic ring backbone of a small-world graph is clearly visible Watts-Strogatz small-world network (N=260, K=8) — radial BC layout showing the characteristic ring structure.

SocNetV v3.6 Watts-Strogatz small-world network (N=100, K=6, β=0.1) — Kamada-Kawai layout with nodes colored by Clustering Coefficient (blue → red); most nodes are green/cyan indicating high local clustering, the defining property of small-world networks Watts-Strogatz small-world network (N=100, K=6, β=0.1) — Kamada-Kawai layout colored by Clustering Coefficient. The predominantly warm colors confirm the high local clustering characteristic of small-world networks.


Erdős–Rényi (ER) Networks

The Erdős–Rényi model generates random networks based on either of two modes:

  1. G(n,M)G(n, M): A graph with nn nodes and MM edges, where all graphs are equally likely.
  2. G(n,p)G(n, p): A graph where each edge is present with probability pp, independent of other edges.

To create an ER network:

  1. Go to Network > Create Random Network > Erdos-Renyi.
  2. Specify the number of nodes (nn) and either the edge probability (pp) or the number of edges (MM).
  3. Choose whether the network is directed, undirected, or allows self-loops.

SocNetV v3.6 Erdős–Rényi random network (N=500, E=2000, undirected) — force-directed layout with nodes colored by Betweenness Centrality (blue → red) Erdős–Rényi random network (N=500, E=2000) — force-directed layout colored by Betweenness Centrality.

SocNetV v3.6 Erdős–Rényi random network G(200, 0.03) undirected — Kamada-Kawai layout with nodes colored by Degree Centrality (blue → red); the structure near the connectivity threshold shows a dominant large component alongside smaller clusters Erdős–Rényi G(200, 0.03) network — Kamada-Kawai layout colored by Degree Centrality. The graph sits near the connectivity threshold, producing a large dominant component typical of ER random graphs.


Lattice Networks

SocNetV can generate regular lattice networks with arbitrary dimensions dd, size ll for each dimension, and custom neighborhood size nn, which defines the distance within which neighbors are connected.

SocNetV v3.6 Lattice network generator dialog — showing parameters: Nodes, Length per dimension, Dimension d, Neighborhood n, Graph Mode (Undirected/Directed), and Circular toggle The lattice network generator dialog — configure dimensions, length, neighbourhood size, and graph mode.


Ring Lattices

Ring lattices are a type of network where nodes are arranged in a ring, each connected to d/2d/2 neighbors on either side. For example, in a 4-lattice of 10 nodes, node 6 connects to nodes 4, 5, 7, and 8.

To create a ring lattice network, go to Network > Create Random Network > Ring Lattice, then specify the number of nodes and degree dd.


Web Crawler: Networks of Webpages

SocNetV includes a web crawler that creates networks of linked webpages. Starting from an initial URL, the crawler:

  • Downloads the HTML of the page.
  • Extracts all links (href) to other pages (internal or external).
  • Adds these links as nodes and edges in the resulting network.

To use the web crawler:

  1. Go to Network > Web Crawler or press Shift+C. The web crawler dialog will appear.

    SocNetV v3.6 Web Crawler dialog — showing the initial URL field, Max URLs to crawl, Max links per page, URL patterns to include/exclude, and options for internal/external link following and self-links

  2. Enter the initial URL and configure limits, such as:

    • Maximum URLs to crawl (total nodes in the network).
    • Maximum links per page to consider.
  3. Specify patterns to include or exclude and the type of links to follow (internal, external, or both). Add delays between requests to prevent overloading servers.

  4. Press “OK” to begin crawling.

SocNetV v3.6 network generated by the Web Crawler — hub-and-spoke structure of linked webpages crawled from socnetv.org; nodes represent pages, directed edges represent hyperlinks; Kamada-Kawai layout with node size reflecting Betweenness Centrality Network of linked webpages generated by the SocNetV Web Crawler starting from socnetv.org.