Overview

Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.

Graph presentation

Shared graph layout settings, styling, and diagram rendering.

Classes

Anchor A finite CeTZ box or content anchor.
Angle A Typst angle in degrees or radians.
Auto Type of the AUTO sentinel, which requests automatic selection.
Color A safe Typst color value.
Compass A finite DOT compass point.
DanglingTangent Tangent constraint at the free endpoint of a dangling edge.
Dash A named or explicit Typst dash pattern.
DashPattern Built-in Typst stroke dash pattern.
DebugLevel Finite debug detail accepted by Linnest’s drawing layer.
DiagramRender An immutable native SVG rendering with file exports and notebook display
DrawOptions Full typed option surface for linnest.draw.
DrawingSelectors Per-render Python callbacks returning typed drawing patches.
EdgeDrawing Mutable typed drawing metadata for an edge.
EdgeLengthResolution How fixed and relative edge-length limits are combined.
Fraction A Typst fractional track size such as 1fr.
GraphStyleOptions Options applied by linnest.graph.style before layout measurement.
HalfEdgeDrawing Mutable typed drawing metadata for one endpoint of an edge.
Inherit Type of the INHERIT sentinel, which preserves a lower-precedence setting.
Insets Typed CeTZ/Typst inset values.
LabelLayout Strategy used to position edge labels.
LayoutAlgorithm Algorithm used by a Linnest layout pass.
LayoutDirection Rank direction used by tree and layered layouts.
LayoutNodes Whether a pass lays out or preserves its selected nodes.
LayoutSettings One or more ordered Linnest layout passes
Length A Typst length such as 2pt or 1.2em.
Mark Typed CeTZ mark configuration.
MarkDirection Direction of a mark along an edge path.
MarkOrientation Frame used to orient an edge mark.
MarkPosition Location of a mark on a rendered edge path.
MarkSymbol Built-in arrowhead symbol used by CeTZ edge marks.
MathSymbol Safe mathematical identifier content, optionally with scripts.
NodeDrawing Mutable typed drawing metadata for a node.
Pattern Kurvst path decoration pattern.
Placement Coordinate-constraint mode for an explicit placement.
RankAlignment Alignment within a layered-layout rank.
Ratio A Typst ratio expressed in percent.
RelativeLength A sum of a Typst ratio and length.
RenderSettings Complete typed rendering configuration.
RoutePoints Whether layout-provided route points participate in edge routing.
Routing Route construction used for an anchored edge.
Stroke A typed Typst stroke dictionary.
StrokeCap Endpoint shape for a Typst stroke.
StrokeJoin Join shape for a Typst stroke.
TextLabel Literal text content with optional typed text styling.
TextStyle Finite Typst text slant.
TypstBind A Typst function partially applied through its native .with method.
TypstCall A call to an explicitly imported Typst function.
TypstModule A local or package Typst module whose exports can be referenced safely.
TypstRef A typed export from a Typst module.

Constants

AUTO

AUTO: Auto

INHERIT

INHERIT: Inherit