}
if (graphObject == null)
{
Close();
var materialGraph = graphObject.graph as AbstractMaterialGraph;
if (materialGraph == null)