outplant-admin-electron-poc Svelte Themes

Outplant Admin Electron Poc

A POC of @xyflow/svelte running in electron with vite for our Outplant (in development) game.

outplant admin electron poc

A POC of @xyflow/svelte running in electron with vite for our Outplant (in development) game. It should launch an electron app and display a beautiful graph like this:

I don't know what half of the confs are doing, there is probably a lot of things to fix and clean, but at least it works..

Running

npm install
npm run watch

generated from https://github.com/cawa-93/vite-electron-builder

Usage

if you are writing a Chain/story for our Outplant (in development) game, you probably want to pull the game repository and set the following environment variable to your desired location: CHAINS_DIRECTORY_ABSOLUTE_PATH=/my-git-repos/Outplant/chains

TODO/Features

  • edit a chain
    • create event
    • create a choice
    • create event from choice
    • link another choice from event < I'm not sure if it is useful/we should allow that
    • link another event from event
    • link another event from choice
    • create an effect from event
    • create an effect from a choice
    • link an effect to event
    • link an effect to choice
    • remove effect
    • edit effect
    • edit 'in' and 'weight'
  • quality of life
    • help with dialogue “ special character
      • we could add a linter, validating a text with rules: translation_id, dialogue begin/end, line breaks
    • switch back to another view after creating choice, you might edit the old one by mistake and lose your work....
    • visually highlight selected node

Top categories

Loading Svelte Themes