Hi, to set the tooltip of a diagram shape you should modify its interactivity style:
NInteractivityStyle interactivityStyle = new NInteractivityStyle( "Tooltip Text" );
NStyle.SetInteractivityStyle(shape, interactivityStyle);
For more detailed information about interactivity styles, you can look at the following help topic: Interactivity Style and this KB article.