Gallery

Public networks rendered with LaNet-vi 5.3.1: the Internet, social, scientific and communication graphs, decomposed into k-cores, k-denses and d-cores. Every figure and number below was produced by one script and can be regenerated.

Methodology

Each dataset is downloaded from its public source, read as an edge list (self-loops dropped, third columns ignored unless they are real weights), decomposed and rendered with the LaNet-vi Python API. The layout is the classic LaNet-vi algorithm (Alvarez-Hamelin, Dall'Asta, Barrat and Vespignani, NIPS 2005): nodes are placed on concentric shells by decomposition index, the innermost core at the center; the radial position inside a shell follows the index of a node's neighbors, and the color scale runs from magenta (outer shells) to red (the maximum core). Node size grows with degree.

  • k-cores: the k-core is the maximal subgraph in which every node has at least k neighbors; a node's index is the deepest core it belongs to.
  • k-denses (m-cores): the same idea counting triangles instead of neighbors, so the index measures cohesion rather than degree. Directed graphs are rendered as undirected.
  • d-cores: for directed graphs, cores defined jointly on in-degree and out-degree; the drawn index is the larger of the two.

Parameters (identical for every figure):

LaNet-vi5.3.1 (NetworkX 3.7, Python 3.12.3)
Image1600 × 1600 px, black background
Layoutclassic, seed 0
Edges drawn50% of edges (at least 50,000), opacity 0.2
Generated2026-09-29T19:49:18Z on Linux-6.17.0-1022-azure-x86_64-with-glibc2.39 (x86_64, 2 CPUs), by the Gallery workflow

Statistics are measured on the loaded graph (for k-cores and k-denses of a directed dataset, on its undirected version). Rendering time is wall-clock on the machine that built the gallery and is only indicative. Reproduce everything with uv run python scripts/build_gallery.py in the website repository; the manifest with all values is gallery.json.