Pack topic
Enclosure diagrams use containment (nesting) to represent a hierarchy. The size of the leaf circles encodes a quantitative dimension of the data. The enclosing circles show the approximate cumulative size of each subtree, but due to wasted space there is some distortion; only the leaf nodes can be compared accurately. Although circle packing does not use space as efficiently as a treemap, the “wasted” space more prominently reveals the hierarchical structure.
Classes
-
Pack<
T> Pack - The pack layout produces circle-packing diagrams, where the area of each leaf circle is proportional its value.
-
Pack<
T> Pack - The pack layout produces circle-packing diagrams, where the area of each leaf circle is proportional its value.
-
Pack<
T> Pack - The pack layout produces circle-packing diagrams, where the area of each leaf circle is proportional its value.
Functions
-
packEnclose<
T> (Iterable< PackPackCircle> circles) → PackCircle -
Computes the
smallest circle
that encloses the specified iterable of
circles
, each of which must have a circle.r property specifying the circle’s radius, and circle.x and circle.y properties specifying the circle’s center. -
packEnclose<
T> (Iterable< PackPackCircle> circles) → PackCircle -
Computes the
smallest circle
that encloses the specified iterable of
circles
, each of which must have a circle.r property specifying the circle’s radius, and circle.x and circle.y properties specifying the circle’s center. -
packEnclose<
T> (Iterable< PackPackCircle> circles) → PackCircle -
Computes the
smallest circle
that encloses the specified iterable of
circles
, each of which must have a circle.r property specifying the circle’s radius, and circle.x and circle.y properties specifying the circle’s center. -
packSiblings(
Iterable< PackPackCircle> circles) → Iterable<PackCircle> -
Packs the specified iterable of
circles
, each of which must have a circle.r property specifying the circle’s radius. -
packSiblings(
Iterable< PackPackCircle> circles) → Iterable<PackCircle> -
Packs the specified iterable of
circles
, each of which must have a circle.r property specifying the circle’s radius. -
packSiblings(
Iterable< PackPackCircle> circles) → Iterable<PackCircle> -
Packs the specified iterable of
circles
, each of which must have a circle.r property specifying the circle’s radius.