isHorizontal property

bool get isHorizontal

Whether the layout expands horizontally (left-to-right or right-to-left).

Used internally to determine axis-specific layout calculations.

Implementation

bool get isHorizontal =>
    direction == GraphTreeLayoutDirection.leftToRight ||
    direction == GraphTreeLayoutDirection.rightToLeft;