Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

SCR Signalling — MVP

This repository contains a small React + TypeScript Vite app that demonstrates an SVG-based signalling diagram with clickable signals. Clicking a signal opens a popup where a headcode can be entered and the signal aspect changed.

Run locally

  1. Install dependencies:

    npm install

  2. Start dev server:

    npm run dev

  3. Open the URL shown in the terminal (usually http://localhost:5173)

What this includes

  • SVG track with example signals
  • Clickable signals that open a popup
  • Popup with headcode input & aspect buttons

Next steps I can implement for you

  • Persist edited signal data to JSON or a backend
  • Add route-setting and basic interlocking
  • Add train objects with headcodes and movement along tracks
  • Scenario editor and save/load

If you want me to continue, tell me the exact track layout or upload an image and I will place the signals accordingly.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages