Compute the element-data patch for the whole graph. Pure: no Cytoscape types, no DOM; thoroughly unit-testable.
Compute the element-data patch for the whole graph. Pure: no Cytoscape types, no DOM; thoroughly unit-testable.