Top-level API#

The functions most programs start from, importable directly from aryagraph. Each is documented once, in its home module; this table links there.

Name

Purpose

ag.draw

Draw a graph and return a Figure.

ag.animate

Interactive playback of a simulation result.

ag.analyze

One-call analytical report.

ag.read

Read a graph file; the format follows the extension.

ag.write

Write a graph file; the format follows the extension.

ag.by

Explicit encoding spec for a visual channel.

ag.get_theme

Look up a theme by name.

ag.register_theme

Make a custom theme available by name.

ag.Figure

A rendered graph: export, display, inspect.

ag.Layout

Node positions, edge routes and provenance.

ag.GraphReport

Result of analyze().

ag.Theme

A complete visual vocabulary.

Namespaces: ag.alg (Algorithms), ag.layout (Layouts), ag.sim (Simulation), ag.gen (Generators and datasets), ag.io (Files and interoperability), ag.style (Styling), ag.charts (Charts).