Sets the id accessor to the given Id and returns a Stratify. The default operator is:
function id(d) {
return d.id;
}
Gets the current id accessor.
Sets the parentData accessor to the given ParentData and returns an updated operator.
Gets the current parentData accessor. If parentIds was passed, this
will wrap that to just return the ids
with undefined
data.
Sets the parentIds accessor to the given ParentIds and returns an update operator. The default operator is:
function parentIds(d) {
return d.parentIds;
}
Gets the current parent ids accessor. If parentData was passed, the returned function will wrap that to just return the ids.
The operator that constructs a MutGraph from stratified tabularesque data.
Create a default operator with graphStratify. The accessors for a node's id or parents' ids can be altered, or parentData can be specified to specify parent ids and attach data to the edge for that parent.