Statistical visualization - ElsaTam/obsidian-extended-graph GitHub Wiki

The Extended Graph plugin can visualize various statistical metrics by adjusting node sizes and colors based on vault analytics. This feature helps identify patterns and important elements in your vault's structure.

  • Values are normalized relative to your vault's content
  • Larger nodes/links indicate higher values for the chosen metric

Statistical Visualization Statistical Visualization settings

[!WARNING] If your vault has a lot of files and links, the computations of the statistical values might take a while. Depending on your settings, it is done every time you enable the plugin in a graph view, or every time you change the data displayed in the graph view. I'm working on a way to improve that.

Settings

Individual node size

node size properties

You can choose the size of a file node with a property. Number values found for the specified property will be used as the base size instead of the default size (100).

Node statistics

Nodes can be sized or colored based on the following metrics:

Basic Metrics

  • Constant
  • Number of backlinks (unique or counting duplicates)
  • Number of forward links (unique or counting duplicates)
  • Number of links (unique or counting duplicates)
  • File name length
  • Number of tags
  • Time since file creation
  • Time since last modification

Graph Analytics

  • Eccentricity in the connected graph: The maximum distance from this node to any other node
  • Betweenness centrality: Measures how often a node acts as a bridge between other nodes
  • Closeness centrality: Indicates how close a node is to all other nodes
  • Degree: Total number of connections
  • Eigenvector centrality: Measures node importance based on the importance of its neighbors
  • Hub centrality (from HITS): Indicates how well a node points to authority nodes
  • Authority centrality (from HITS): Indicates how well a node is pointed to by hub nodes
  • Topological propagation: Measures how many nodes are connected with forward links (directly and indirectly)
  • Sentiment (also requires NLP plugin)

Node size range

The size of the nodes are scaled by a factor in a range mapped to the values of all the nodes, by a linear interpolation. You can choose the minimum and maximum of the scaling factor, which will define how much nodes are scaled down/up based on the associated metric.

Reverse graph to compute node statistics

The Obsidian graph is oriented, meaning that links have a direction (from source to target). This impacts multiple statistics depending on graph analysis and edge orientations. If you want to reverse this and use a direction from target to source, enable this feature.

Link statistics

[!NOTE] The following metrics are taken from the Graph Analysis plugin. If you like the usage of this metrics, please check out this amazing plugin that gives you plenty of insightful metrics for your vault.

Recompute when graph changes

Some metrics depend on the graph structure. You can enable this feature to force this metrics to be recomputed everytime the graph data changes. Note that if you have a lot of notes in your graph, it might slow down the process of filtering in and out nodes and links.