Cell
public struct Cell : CustomDebugStringConvertible
The LineageAlignment.Cell
struct wraps a lineage tree node and the properties
related to its position and dimensions in the alignment.
-
The lineage tree node represented by the cell.
Declaration
Swift
public private(set) var node: LineageTree.Node
-
Once the alignment has been generated, this property is set to the number of cells or empty spaces that come before this cell when laying out the column (aka the cell’s row).
Declaration
Swift
public internal(set) var offset: Int
-
Calculates and returns the number of registered lineage endpoints that descend from this cell’s node. If the node has no children (thus, it is an endpoint itself), this property returns 1.
Declaration
Swift
public var span: Int { get }
-
Declaration
Swift
public var debugDescription: String { get }