Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Graph_PackingMode

mattt edited this page Nov 16, 2020 · 2 revisions

Graph.PackingMode

"node", "clust" , "graph" The modes "node", "clust" or "graph" specify that the components should be packed together tightly, using the specified granularity. A value of "node" causes packing at the node and edge level, with no overlapping of these objects. This produces a layout with the least area, but it also allows interleaving, where a node of one component may lie between two nodes in another component. A value of "graph" does a packing using the bounding box of the component. Thus, there will be a rectangular region around a component free of elements of any other component. A value of "clust" guarantees that top-level clusters are kept intact. What effect a value has also depends on the layout algorithm. For example, neato does not support clusters, so a value of "clust" will have the same effect as the default "node" value.

public enum PackingMode

Inheritance

String

Enumeration Cases

node

case node

cluster

case cluster

graph

case graph
Clone this wiki locally