Function: pruneLayout()
function pruneLayout(
layout,
existingIds,
existingEdgeIds?
): PruneResult;
Drop node entries (and, if existingEdgeIds is given, edge entries) that no longer exist in the
diagram, in every view. Views themselves are kept even when they become empty.
Parameters
layout
existingIds
Iterable<string>
existingEdgeIds?
Iterable<string, any, any>