Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.78 KB

File metadata and controls

64 lines (43 loc) · 1.78 KB

LMVG Editor

Single-page, browser-based map editor for LMVG reality maps.

Overview

This project is a standalone HTML app (index.html) with no build step and no external dependencies. It lets you:

  • Create and edit nodes
  • Connect nodes with riftstreams
  • Pan/zoom around the map canvas
  • Save and load map data as JSON
  • Export maps as PNG or SVG
  • Generate a shareable URL containing map data
  • Restore autosaved work from browser storage

Run

Option 1: Open directly

  1. Open index.html in a modern browser.

Option 2: Serve locally (recommended)

Using a local server can improve compatibility for clipboard and URL-based features.

Examples:

  • Python: python -m http.server 8000
  • Node: npx serve .

Then open:

  • http://localhost:8000

Basic Controls

  • Select mode: select/edit existing nodes or links
  • Connect mode: click node A, then node B to create/remove a link
  • Add mode: click empty space to create a node
  • Delete mode: click a node or link to remove it
  • Pan: drag empty space
  • Zoom: mouse wheel
  • Clear selection/connect state: Esc

Data & Export

  • Save JSON / Load JSON for persistent map files
  • Export PNG / Export SVG for image output
  • Share Link stores the current map in the URL
  • Autosave uses browser localStorage

Project Files

  • index.html — primary current app
  • lmvg_editor_fixed_v3.html — alternate/fixed variant
  • index.html.old — older backup
  • favicon.ico — browser tab icon
  • KhryonicWiki.png — image asset used by the UI

Notes

  • This is intentionally a single-file app for easy editing and deployment.
  • For production hosting, any static file host will work just fine. It's literally just an HTML file.