You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
tslil-topos
committed
feature: Petri net document type, delta lens
Following the plan in
https://github.com/ToposInstitute/CatColab-Roadmap/issues/59 , this
change implements a bespoke document type for Petri nets which mirrors
that used by Petrinaut internally, but constrained to those subset of
features we will aim to support.
Additionally it introduces a "delta lens" trait (for documents, is the
intention). This is designed to support the use-case of keeping two
different document types containing "compatible" content in-sync with
one-another by providing a structured serialisation to, and updates
based on changes in, "formal content". This lens trait is implemented
for Notebooks and PetriNets.
Future work:
* integration of autosurgeon in the rust to allow automerge to learn
from delta lens driven updates
* teaching the backend about linked pairs of documents (Notebook +
Petri net), and wiring them together with the delta lenses
* much front-end work to support the embedded component and
interacting with these linked pairs, along with some constraints on
what the notebook editor will accept/allow in that mode
0 commit comments