Skip to content

Conversation

@epatters
Copy link
Member

@epatters epatters commented Nov 11, 2024

A big PR to the frontend that:

  • Refactors and extends the notions of "document" for models, analyses, and now diagrams in models
  • Add types for diagrams in models, in both TypeScript and the Rust-wasm bindings
  • Implements auto-completion for basic objects and morphisms in models
  • Adds a rough but functional notebook editor for diagrams in models of discrete double theories

Enough to close #235. Follow-on work will be described in new issues.

The top-level `document` folder has been removed.
This mirrors the code organization in `catlog`.
This component won't just be used in the model editor.
This is a breaking change.
It doesn't work as intended: the error message is blank. We should do
something better but that's a task for the future.
Also, move `LiveModelDocument` out of model editor.
Also, simplify the `Context` for a model by just providing the live
model document.
@epatters epatters added enhancement New feature or request frontend TypeScript frontend and Rust-wasm integrations labels Nov 11, 2024
@epatters epatters marked this pull request as draft November 11, 2024 20:48
@github-actions
Copy link

github-actions bot commented Nov 11, 2024

Unfortunately we can't demonstrate it yet since models of discrete
tabulator theories still need to be implemented in the core.
Used in the morphism editor for diagrams.
Also, refactors the object/morphism input components for better code reuse.
@epatters epatters marked this pull request as ready for review November 12, 2024 06:07
@epatters epatters merged commit 8fa3120 into main Nov 12, 2024
@epatters epatters deleted the diagram-editor branch November 12, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend TypeScript frontend and Rust-wasm integrations

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Diagram-style editor for instances of models of discrete theories

2 participants