public void RecordInserted(IDataRecord record) { if (DiagramDrawer == null || DiagramDrawer.DiagramViewModel == null || DiagramDrawer.DiagramViewModel.IsLoading) { return; } if (record is FilterStackItem || record is WorkspaceGraph || record is FilterItem) { refresh = true; } DiagramViewModel.RecordInserted(record); //if (record is IDiagramNodeItem) //{ // refresh = true; //} }