The local position of this CG
The order in which branches are displayed. All of the nodes that make up a single branch are placed together. This is now global on the LDM level, so a reference should be passed in by the LDM.
The order in which branches are displayed. All of the nodes that make up a single branch are placed together. This is now global on the LDM level, so a reference should be passed in by the LDM.
A list of LogootNodeGroups
that make up the Logoot side of the local
document. A group's nodes will be split up and placed into one of the
branch sections as defined in branch_order
. These absolutely must be
in order based on their Logoot positions.
True if any groups are conflicted.
Get the first branch in this group.
Search this node (and potentially the BST) for the closest data position greater than or equal to the start of this CG.
The position of the first data node in this node or successors.
Get the last branch in this group.
Search this node (and potentially the BST) for the closest data position less than or equal to the end of this CG.
The position of the last data node in this node or predecessors.
Find the end in the local document,
Get the equivalent length of all data nodes.
Get the last group's Logoot position
Get the first group's Logoot position
The length in the local document (only DATA
nodes) of only branches
.
A list of branches to count.
Get the nodes to the left and right of start
. If there is already a
LogootNodeGroup
with the same position, behavior is undefined.
The position for which to find neighbors of.
An object containing left
and right
LogootNodeGroup
s, as
well as a pos
number, which is the position of right
in this.groups
.
Find the position in the local document of a group that is already in
this ConflictGroup
. This is named insertPos
because it is used to find
the insertion position of a new group, but the naming is a bit confusing.
The branch on which to determine the position.
The LogootNodeGroup to determine the position of.
The position of at
.
Adds a group with only one branch to this CG and returns its position.
The group to add.
The position in the local document of the insertion.
Generated using TypeDoc
A group of
LogootNodeGroup
s that are considered by theJoinFunction
(see the list document modelindex.ts
file) to be related. Each Logoot node is not displayed in the order specified ingroups
. Rather, all of the nodes on a particular branch are displayed together and in the order defined bybranch_order
.