The options for the hierarchical layout

interface HierarchicalOptions {
    direction?:
        | "left"
        | "right"
        | "up"
        | "down";
    packing?: "bin" | "stack";
}

Properties

Properties

direction?:
    | "left"
    | "right"
    | "up"
    | "down"

The direction in which the layout should be oriented

packing?: "bin" | "stack"

The packing method to be used