How to change node text dynamically?

How to change node text dynamically without editing in diagram?
how to change text of a node from out side of a diagram?
can anyone tell how to achieve this?

Have you read GraphObject Manipulation ?