public virtual void OnGraphEnded()
{
IsPossibleGraphRun = false;
IsPossibleGraphPause = false;
IsPossibleGraphStop = false;
IsPossibleGraphRestart = false;
IsPossibleGraphRelease = false;
if (GraphEnded != null)
GraphEnded(this, new EventArgs());
}