nodes method

List<Element?> nodes()

Returns an list of all (non-null) elements in this selection.

d4.selectAll("p".u31).nodes(); // [p, p, p, …]

Equivalent to:

selection.toList()

Implementation

List<Element?> nodes() {
  return toList();
}