private ArcProcessViewModel GetArc(ProcessStatusViewModel source, ProcessStatusViewModel target) { if (target is null || source is null) { return(null); } return(container.ArcProcesses.FirstOrDefault(x => x.StatusSource == source && x.StatusTarget == target)); }
private ArcProcessViewModel GetNoose(ProcessStatusViewModel status) { return(GetArc(status, status)); }