Study Knowledge Graph

A visual, runnable guide to the study knowledge base

Run / share / read / build - pick your mode. This page shows the knowledge base and embeds the live graph, the run-and-build page shows how to run and build the Shiny app that lets you filter and click through it, and the interactive graph is a shareable no-server widget. Synthetic study, no PHI.

What it is

Every study artifact - protocol, SAP, ADaM specs, DMP, monitoring plan, milestones - is a note, and every dependency between them is a link. Instead of a folder tree, you navigate the study the way it actually connects.

%%{init: {'theme':'base','themeVariables':{'primaryColor':'#28344f','primaryTextColor':'#eef2fb','primaryBorderColor':'#7d9bd6','lineColor':'#aab8d6','clusterBkg':'#161d33','clusterBorder':'#3a476a','tertiaryColor':'#20406a','tertiaryTextColor':'#eef2fb','tertiaryBorderColor':'#7d9bd6','secondaryColor':'#20406a','secondaryTextColor':'#eef2fb'}}}%%
flowchart LR
  H["Study hub"] --> D["Design &<br/>data collection"]
  H --> S["Statistics &<br/>programming"]
  H --> DM["Data management<br/>& flow"]
  H --> SF["Safety &<br/>oversight"]
  H --> SU["Randomization,<br/>blinding & drug"]
  H --> P["Deliverables<br/>& timeline"]
  H --> R["People, standards<br/>& vendors"]

The structure - by the numbers

28
Notes
59
Links
8
Clusters
9
Note types

The most-connected note is the CP-101 Knowledge Hub (it links to 15 others); the top broker - the note that most sits between clusters - is CP-101 Knowledge Hub. Those are computed with igraph, not asserted.

The live graph

Drag a note, hover for its detail, or use the type selector. The whole vault is three CSV files you can open right now: nodes.csv (one row per note), edges.csv (one row per link), and types.csv (the note-type colours). Edit those and the graph moves.

Run it - and change it

shiny::runApp("knowledge_vault/shiny")
# needs: install.packages(c("shiny","bslib","visNetwork","igraph"))

The three CSVs are the vault. Add a note as a row in nodes.csv, wire it with rows in edges.csv, and it appears - sized by how many notes link to it. The run-and-build page shows how the graph is built from the logic in R/logic.R.

The other formats

Mode Artifact
Run / explore Run & build the Shiny app
Share (no R) Interactive graph
Build Run-and-build walkthrough

Synthetic study knowledge base. No PHI, no participant-level data.