As an example of the JELIB format, let us assume a design with two levels of hierarchy. The bottom level of hierarchy (cell "low") has 3 nodes, two arcs, and an export, as shown here.
Figure 10-1

Figure 10-2
The top level of hierarchy (cell "high") has two instances of the cell (the right instance is rotated 90 degrees) and an arc connecting them, as shown here.

Here is the JELIB file for the above layout:

# header information:   
HExample|8.09

# Views:
Vlayout|lay

# Technologies:
Tmocmos
# Cell high;1{lay}
Chigh;1{lay}||mocmos|1093555876000|1094258888640|
Ngeneric:Facet-Center|art@0||0|0||||AV
Ilow;1{lay}|low@0||-14|12|||D5G4;
Ilow;1{lay}|low@1||15|12|R||D5G4;
AMetal-1|net@0|||S0|low@1|a|5|22|low@0|a|-4|22
X

# Cell low;1{lay}
Clow;1{lay}||mocmos|1093555232000|1094258870406|
Ngeneric:Facet-Center|art@0||0|0||||AV
NMetal-1-Metal-2-Con|contact@0||-10|10||||
NMetal-1-Pin|pin@0||10|10||||
NMetal-2-Pin|pin@1||-10|-10||||
AMetal-1|net@0|||S1800|contact@0||-10|10|pin@0||10|10
AMetal-2|net@1|||S900|contact@0||-10|10|pin@1||-10|-10
Ea||D5G2;|pin@0||U
X