NetworkX can be used to plot network graphs with python code. You'll need to install this package in your own local development environment. At this stage is not possible to run NetworkX code on Udacity's IDE. For 3D plotting refer to the Mayavi sections.