Developing with the SDK > Using and Writing Data Models > JavaBeans Example > The Molecule Example

The molecule example displays a chemical molecule. The atoms are the nodes of the graph and the bonds between the atoms are the links of the graph, see Figure 2.3.

images/diaext_molecule.png

Figure 2.3 The Molecule Example: Phenol

The example is supplied with ILOG JViews Diagrammer in the directory <installdir>/jviews-diagrammer81/codefragments/datamodel/molecule.