private ActorViewModel GetActor(ActorContext actor) { var alias = actor.GetText(); if (string.IsNullOrEmpty(alias)) { return(null); } return(SequenceDiagram.GetOrCreateActor(alias, null)); }