Boolean indicating if the cells should be cloned with all descendants.
Optional mapping for existing clones.
Returns the cells from the given array where the given filter function returns true.
Returns all opposite vertices wrt terminal for the given edges, only returning sources and/or targets as specified. The result is returned as an array of Cell.
that specifies the known end of the edges.
Boolean that specifies if source terminals should be contained in the result. Default is true.
Boolean that specifies if target terminals should be contained in the result. Default is true.
Returns an array that represents the set (no duplicates) of all parents for the given array of cells.
Generated using TypeDoc
Returns an array of clones for the given array of Cell`. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array.