Skip to content

MustafaKadhim/RayStation_Knowledge_graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

header

✨ A living map of the RayStation scripting universe, built for clinical developers using agentic frameworks. ✨

kg raystation


RayStation Knowledge Graph Visualization

🕸️ Pan, zoom, and wander through the connections.


What Is This?

This repository publishes a knowledge graph derived from the RayGPT codebase. It maps relationships, concepts, functions, and tools across the RayStation scripting ecosystem — with private source path metadata removed so it is safe to share and build on freely.

Whether you are onboarding to the RayStation scripting environment, building a coding agent, or exploring clinical workflow patterns, this graph gives you a structured and visual starting point.


🤖 Agent-Ready

Load graph.json directly into any coding agent for structured, relational context about the RayStation scripting ecosystem.

🔍 Interactive

Open graph.html in your browser to pan, zoom, and click through relationships between scripts, tools, and clinical concepts.

🔒 Privacy-Safe

Private source path metadata has been stripped out. Safe to share, fork, and build on for your own projects.



📦 What's Inside?

File What It Does Perfect For
graph.json 🧠 Machine-readable graph Feeding your coding agent
graph.html 🌐 Interactive visualization Exploring in your browser
manifest.public.json 📊 Export metadata (version, dates, counts) Understanding the graph's scope
Figures/ 🖼️ Screenshots & visual assets Documentation & presentations

Quick Start

Option A — Clone the repository

git clone https://github.com/MustafaKadhim/RayStation_Knowledge_graph.git
cd RayStation_Knowledge_graph

Option B — Download as ZIP

  1. Click the green Code button at the top of this page.
  2. Select Download ZIP.
  3. Extract and open the folder in your editor.

Explore the Graph in Your Browser

Launch a local static server from the repository root:

python3 -m http.server 8000

Then open your browser at:

http://localhost:8000/graph.html

Pan, zoom, and click nodes to explore relationships between scripts, functions, and clinical concepts interactively.


Use with Your Coding Agent

Point your agent to graph.json and ask questions like:

"Load graph.json and list the top communities by node count."
"Find scripts or functions related to plan optimization and QA checks."
"Show all entities connected to CheckClinicalGoals.py."
"Which tools are involved in dose-volume histogram evaluation?"

The graph encodes entities, communities, and weighted edges — giving your agent rich relational context without needing access to the raw source code.


Notes

This graph is designed for discovery and relationship mapping. It is an excellent complement to the official RayStation scripting documentation, but is not a replacement for it.

Feel free to extend the concept, adapt the pipeline, or contribute improvements.


Built with the RayGPT knowledge pipeline  ·  Mustafa Kadhim

Releases

No releases published

Packages

 
 
 

Contributors

Languages