Function: selectView()
function selectView(model, viewName): DiagramModel | null;
Returns the part of model that the named DiagramView shows: its tables, the refs whose both
endpoints are visible, its groups (with tableIds trimmed to visible tables), its sticky notes
and the records of visible tables. Enums and the view list are kept whole. Columns keep their
isFk flag from the full model. Returns null when no view has that name.
Parameters
model
viewName
string
Returns
DiagramModel | null