11import { ThSignedPolynomialODE } from "catlog-wasm" ;
22import { Theory , type TheoryMeta } from "../../theory" ;
33import * as analyses from "../analyses" ;
4+ import ObjectCellEditor from "../../model/object_cell_editor" ;
5+ import ContributionCellEditor from "../../model/contribution_cell_editor" ;
46
57export default function createSignedPolynomialODETheory ( theoryMeta : TheoryMeta ) : Theory {
68 const thSignedPolynomialODE = new ThSignedPolynomialODE ( ) ;
@@ -13,23 +15,28 @@ export default function createSignedPolynomialODETheory(theoryMeta: TheoryMeta):
1315 {
1416 tag : "ObType" ,
1517 obType : { tag : "Basic" , content : "State" } ,
18+ editor : ObjectCellEditor ,
1619 name : "Variable" ,
17- description : "Variable in ring of polynomials " ,
20+ description : "State variable in ODE system " ,
1821 shortcut : [ "V" ] ,
1922 } ,
2023 {
2124 tag : "MorType" ,
2225 morType : { tag : "Basic" , content : "Contribution" } ,
26+ editor : ContributionCellEditor ,
2327 name : "Positive contribution" ,
24- description : "Additive monomial contribution to the system of ODEs" ,
25- shortcut : [ "C" ] ,
28+ description : "Positive monomial contribution to ODE system" ,
29+ shortcut : [ "P" ] ,
30+ arrowStyle : "plus" ,
2631 } ,
2732 {
2833 tag : "MorType" ,
2934 morType : { tag : "Basic" , content : "NegativeContribution" } ,
35+ editor : ContributionCellEditor ,
3036 name : "Negative contribution" ,
31- description : "Subtractive monomial contribution to the system of ODEs " ,
37+ description : "Negative monomial contribution to ODE system" ,
3238 shortcut : [ "N" ] ,
39+ arrowStyle : "minus" ,
3340 } ,
3441 ] ,
3542 modelAnalyses : [
0 commit comments