SetPropertyValue for graphs