Skip to content

Add a frontend interface #3

@rafe-murray

Description

@rafe-murray

Summary

This project is currently hard to use, requiring users to understand and write in C++ source code, then compile and run it themselves.

Desired Outcome

An intuitive UI/UX that provides sleek visual components, fast response times, keyboard shortcuts and drag and drop edits that allows a user to create and modify a circuit before solving it.

Plan

  1. Expose the circuitGraph functionality as a native Node module. To create a circuit, we could either expose the mutator methods through the Node API or pass a json string and parse it.
  2. Create the client-side circuit drawing functionality. We could use diagram.js to develop a custom circuit editor (see here for better documentation). Vibe coding might also be well-suited to this task.
  3. Connect the two. This would look something like a web app that uses whatever client-side interface we create and then does some processing server-side to create the circuitGraph from what the user created, then solves the circuit and updates the UI accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions