lib module
load function
#let load(source, profile: "permissive", fail-on-error: true)Documentation
Load and validate SWC input. Typst 0.15.0 and later may pass path(...) directly; Typst 0.14.x should pass read("neuron.swc", encoding: none) so the path is resolved at the calling document.
Geometry values remain unitless numbers in the physical unit named by cell.units (SWC convention: micrometres). Typst layout lengths are only used by render.
Parameters
source(any): SWC input as bytes or text, or apathon Typst 0.15.0 and later.profile(str): Validation profile, either"permissive"or"incf-strict". Default:"permissive".fail-on-error(bool): Whether validation errors should stop evaluation. Default:true.
Returns
dictionary
Defined in lib.typ:150.