JGraph > Tutorial > Get root sites

The following example shows you how to list all root-level sites.