Network analytics

Network mode is three blocks: Network Stats (the whole graph), Node Analytics (the node under the pointer), and Summary (DAGitty-style exposure / outcome / path counts).

None of the Network Stats or Node Analytics use exposure / outcome roles except Diameter and Radius, which are measured from exogenous nodes to marked outcomes. Everything else in those two blocks is the directed graph as drawn. Summary does use roles.

An em dash (—) means the value is undefined for this graph or node (too small, no path, a sink, and so on). It is not a zero.

Network Stats

Nodes

Count of nodes on the canvas.

Edges

Count of directed edges. A pair A → B and B → A is two edges.

Isolates

Nodes with total degree 0: no in-edges and no out-edges.

Diameter

Longest directed shortest-path distance from any exogenous node (in-degree 0) to any outcome node. Same path family as radius.

Empty (—) when there is no exogenous node, no outcome, or no directed path from any exogenous node to any outcome.

This is not the usual undirected-graph diameter over all pairs. It is the span of the causal DAG from sources to marked effects.

Radius

Shortest of those same exogenous→outcome distances. Empty under the same conditions as diameter.

Together: diameter is the longest cause→effect walk you have marked; radius is the shortest. A graph with one short path and one long path will show them as two different numbers.

Median Eccentricity

Median of per-node eccentricity values. Sinks and isolates (eccentricity undefined) are left out of the median, so a bunch of terminal outcomes cannot collapse this to zero.

Density

Directed simple-graph density: (m / (n(n-1))). Shown as a percentage. Self-loops are not in the model. 100% would mean every ordered pair except (i \rightarrow i) has an edge.

Transitivity

Among directed chain wedges (i \rightarrow j \rightarrow k), the fraction that are shielded (there is also an edge between (i) and (k)). Shown as a percentage.

Denominator is open mediated triples plus those shielded chains — not (n^3), and not all triple types. High transitivity means chains tend to come with a closing edge.

Degree Assortativity

Pearson correlation, over directed edges, of the source’s out-degree with the target’s in-degree (Newman-style for digraphs). Range roughly ([-1, 1]).

  • Positive: busy sources point at busy sinks (hubs feed hubs).
  • Negative: busy sources point at quiet sinks (or the reverse).
  • — with fewer than two edges, or if a side has no variance.

Open Triples

Unshielded path triples: two edges through a middle node, no edge between the endpoints. This number is the sum of the next three:

Mediated + Confounding + Colliders = Open Triples.

That identity is the only sum the UI promises.

Mediated

Open chain (i \rightarrow j \rightarrow k) with no (i!-!k) edge. A mediation motif (cause → mediator → effect, unshielded).

Confounding

Open fork (i \leftarrow j \rightarrow k) with no (i!-!k) edge. A common-cause motif.

Colliders

Open v-structure (i \rightarrow j \leftarrow k) with no (i!-!k) edge. Two arrows into the same child, parents not adjacent.

Closed Triples

Undirected triangles: three nodes with an edge on every pair (direction ignored for the “is there an edge” test). Counted once per triple, not once per wedge.

Closed triples are not the sum of open triples, and not “shielded mediated + shielded colliders” as a raw add — a triangle is one closed triple even if it contains several motifs.

Power Law α

Continuous MLE for a power-law exponent on total degree, using nodes with degree (k \ge 1):

[ \alpha = 1 + n \big/ \sumi \ln(k_i / k{\min}), \quad k_{\min} = 1 ]

Needs at least three such nodes. Shown to two decimals. Typical reported scale-free exponents sit a bit above 2; treat a single graph’s α as a sketch, not a theorem.

Scale Free

Yes if the log empirical CCDF of total degree fits the Pareto CCDF implied by that α with (R^2 > 0.8). No otherwise. — when α itself could not be estimated.

This is a coarse flag for “does the degree tail look power-law-ish,” not a formal Clauset–Shalizi–Newman test.

Node Analytics

The heading is the hovered node’s name (or id). Leave the node and the block clears after a short delay so the numbers do not flicker as you move between neighbors.

In-Degree

Number of incoming arrows.

Out-Degree

Number of outgoing arrows.

Total Degree

In + out. A node with A → X → B and also C → X has total degree 3.

PageRank

Prestige flowing along the arrows (causes → outcomes). Damping 0.85, 100 iterations, dangling mass redistributed uniformly. Values sum to about 1 across the graph.

High PageRank: many paths (or high-prestige parents) point into this node. Sinks that collect structure light up here.

Inverse α

PageRank on the reversed digraph — prestige of causes given outcomes. Same scale (sums ≈ 1).

High inverse-α: this node is an important parent of important descendants. Sources that fan out into the rest of the DAG light up here.

Read the pair: PageRank asks “what is downstream-prestigious?”; inverse-α asks “what is upstream-prestigious?”

Betweenness

Directed Brandes betweenness, normalized by (1/((n-1)(n-2))). Fraction of directed shortest paths that pass through this node (endpoints excluded). Range ([0, 1]) on graphs with (n > 2).

High betweenness: a bottleneck on shortest directed routes. Mediators on the only path from a cluster of causes to a cluster of effects.

Closeness

Wasserman–Faust form for disconnected digraphs: (number of other nodes reachable along out-edges) / (sum of those directed distances). 0 if the node reaches nobody.

Higher near nodes that quickly reach many descendants (often toward sinks of a chain). Not the undirected (1 / \sum d).

Eccentricity

Longest directed shortest-path distance from this node to any other reachable node. — for sinks and isolates (they reach nobody; calling that 0 would wrongly force network radius to 0).

Shown as a whole number when it is an integer, otherwise one decimal.

Summary

Same four rows as DAGitty’s Summary panel. Roles and directed structure only. Refresh when the graph changes, not on hover.

Exposure(s)

Display names of nodes marked exposure, in stable id order. not set when there are none.

Outcome(s)

Display names of nodes marked outcome. not set when there are none.

Covariates

Count of nodes that are neither exposure nor outcome: (n - n*{\text{exposure}} - n*{\text{outcome}}). Isolates and mediators both count. Zero is a real zero, not —.

Causal Paths

Number of directed paths from any exposure to any outcome (DAGitty countPaths: memoized DAG walk, not shortest paths). Multiple exposures and outcomes add: each pair is counted, then summed.

0 when there is no exposure or no outcome. — when the graph has a directed cycle (the count is undefined then; DAGitty hides the whole summary). Undirected and bidirected edges are not walked.