Rendering#

Scenes, figures, animation and export (aryagraph.render).

Drawing#

draw

Draw a graph.

build_scene

Build a Scene; see aryagraph.draw() for the options.

Figure and scene#

Figure

A rendered graph: export it, display it, or inspect its scene.

Scene model#

Scene

Everything needed to draw a graph, in pixel coordinates.

NodeMark

EdgeMark

LabelMark

Animation#

animate

Interactive animation of a SimulationResult.

Export#

find_browser

Path of a Chromium-family browser usable for headless export, or None.

svg_to_png

Rasterise svg to path at scale × its CSS pixel size.

svg_to_pdf

Vector PDF of svg at its natural size.