To create a diagram in Canvas mode, follow the steps below. The code for this tutorial is available in Samples\CSharp\Tutorial subfolder of NetDiagram's installation folder.
Creating Items on the Server Side
Creating and Customizing Items on the Client side