graph node creation