|
|
f7dac370b4
|
refactor: break down single html file
Scaffold project structure with vite.
src/
types.ts ← Node, Connection, ParseResult, PaletteEntry, BlockInfo, AppState
parser.ts ← parsePuml()
colors.ts ← PALETTE, guessColor()
svg.ts ← makeBlock(), makeArrow(), makeLine() (pure SVG helpers)
main.ts ← state, drawLevel(), updateNav(), render(), setBugData(), event wiring
style.css ← all styles
index.html ← shell + default PlantUML example in textarea
package.json ← vite + typescript devDeps
tsconfig.json ← strict mode, ESNext, bundler resolution
|
2026-03-14 14:17:16 +00:00 |
|