Optionalconfig: TMathConfigProtectedcanvasThe Interactive Ink Canvas instance
ProtectedloggerLogger instance for this manager Automatically uses LoggerCategory.MANAGER
ProtectedmanagerName of the manager for logging purposes Must be overridden in concrete classes
Get the client from the canvas Convenience getter to avoid accessing canvas.client everywhere
Get the configuration from the canvas Convenience getter to avoid accessing canvas.configuration everywhere
Get the model from the canvas Convenience getter to avoid accessing canvas.model everywhere
Get the renderer from the canvas Convenience getter to avoid accessing canvas.renderer everywhere
Compute numerical result for a math symbol
The ID of the math block
Optionalmode: TMathResultMode
Result display mode ("draw" or "ghost"). Defaults to canvas.mathResultMode
Promise with the computation result, number of added strokes, and numeric value
Destroy the manager and cleanup resources Calls the onDestroy hook if defined
OptionalisStale: () => booleanEvaluate a math function for a math symbol
The ID of the math element (jiixId)
Evaluation parameters
Promise with evaluation points
OptionaljiixBlockIds: string[]Get available math solver actions for a specific math element
The ID of the math element (jiixId)
Promise with array of available actions
Get which math operations (edit variables, compute, evaluate, manage solver output strokes) are available for a math block. Result is cached per block until the block's variables, computation state, or diagnostics change.
The ID of the math block
Get diagnostic result for a specific math task
The ID of the math element (jiixId)
The task to diagnose (e.g., "numerical-computation", "evaluation")
Promise with diagnostic result (e.g., "ALLOWED", "NOT_ALLOWED")
Get evaluables from a math expression
The ID of the math element (jiixId)
Promise with array of evaluables
Get variables from a math expression
The ID of the math element (jiixId)
Promise with array of variables
Get variable value from a math expression
The ID of the math element (jiixId)
Name of the variable
Promise with the value of the variable
ProtectedonProtected OptionalonLifecycle hook called after manager initialization Override in subclasses if needed
This is called at the end of the constructor, allowing subclasses to perform initialization that requires access to this.managerName or other properties set in the subclass constructor.
Set multiple variable values for a math symbol
The ID of the math block
Object with variable names as keys and their values
Promise that resolves when all variables are set
Set value for a specific variable in a math expression
The ID of the math element (jiixId)
Name of the variable to set
Value to assign to the variable
Promise that resolves when the variable is set
Main Math manager that orchestrates all math-related sub-managers.
Sub-managers: