public override void HandleNodeClick(NodeBaseViewModel node) { if (prevSelectedNode != null) { Diagram.AddConnection(prevSelectedNode, node); prevSelectedNode = null; Diagram.HelpText = RandomNextStr; } else { Diagram.HelpText = "Great ! Now select destination"; prevSelectedNode = node; } }