The basic class structure of the non-GUI elements of NanoCap is shown in Fig. 15. The class diagrams are constructed with the help of pyreverse and graphviz.