Skip to content

fontlabapp.components.graph.elastic.physics

physics

Host-free ordered graphs and the two distinct rescued elastic force laws.

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
Point attribute (shared captured text)
fixed function (part: int) -> Graph Return each original's exact ordered nine-node graph and initial layout.
geometry function (source: Point, dest: Point, part: int) -> tuple | None Return clipped endpoints and original directional triangle vertices.
step function (points: tuple[Point, ...], edges: tuple, part: int, held: int | None=None, *, deadline: float | None=None) -… Compute synchronously from one complete position snapshot; hold dragged node.
zoom_factor function (part: int, zoom: float, *, key: int=0, wheel: int | None=None) -> float Retain original zoom direction and endpoint inclusivity per profile.