void Update()
{
if (graphObject == null)
return;
var materialGraph = graphObject.graph as AbstractMaterialGraph;
if (materialGraph == null)