Macaw.Frame.Charts.Chord (macaw_frame v0.1.0)

Copy Markdown View Source

charts.chord (spec/13 §5.6): the groups' arcs on a ring and the ribbons ending on its inner edge at the groups' angles about one center, groups labeled outward, named a chord diagram. Copied from the gallery's Examples.Charts.ChordDiagram (examples/lib/examples/charts/chord_diagram.ex). Its arcs are the chord step's own sector paths, so groups and ribbons share the step's one center and radius.

iex> Macaw.Frame.Charts.Chord.id()
"charts.chord"

Summary

Functions

What it draws, for a person and a builder's library.

Its fixtures (spec/14 §1): calls between four services.

The fragment: the chord step's groups and chords as paths.

The fragment's id in the catalog store.

What the fragment is: a whole design, or layers placed in one.

Its namespace (spec/13 §2).

Its parameters (spec/13 §3, §5.6).

Its slot: links (spec/13 §5).

Functions

doc()

@spec doc() :: String.t()

What it draws, for a person and a builder's library.

fixtures()

@spec fixtures() :: [map()]

Its fixtures (spec/14 §1): calls between four services.

fragment()

@spec fragment() :: map()

The fragment: the chord step's groups and chords as paths.

id()

@spec id() :: String.t()

The fragment's id in the catalog store.

kind()

@spec kind() :: :design | :layers

What the fragment is: a whole design, or layers placed in one.

namespace()

@spec namespace() :: :charts | :maps | :diagrams

Its namespace (spec/13 §2).

parameters()

@spec parameters() :: [{String.t(), map()}]

Its parameters (spec/13 §3, §5.6).

slots()

@spec slots() :: %{required(String.t()) => map()}

Its slot: links (spec/13 §5).