drawing graph nodes