digraph directoryLayout {
   rankdir=LR
   node [fontcolor=blue style=filled fillcolor="#FAFAFA"]
   root [ label="/var/www/mediawiki" shape = folder] 
   code [ shape=folder ]
   sites [ shape=folder ]
  
   worksite [ shape=octagon label="worksite.php" ]
   runjobs [ shape=octagon label="runjobs" ]
   doesites [ shape=note label="doe.sites" ]
   ext [ shape=folder label="extensions" ]
   other [ shape=folder label="..." ]
   crontab [ shape=octagon ]
   crontab -> runjobs

   root -> sites
   root -> code
   code -> cls
   code -> worksite
   code -> runjobs
   code -> doesites
   code -> ext
   code -> other
 
   cls [ label="Localsettings.php" shape=note ]

   root -> symlink1
   root -> symlink2
   root -> symlink3
  { rank=same code;sites;}

   symlink1 [ label="wiki1.doe.com" shape=cds ]
   symlink1 -> code [ label="symbolic link" ]
   folder1 [ label="wiki1.doe.com" shape=folder ]
   images1 [ label="images" shape=folder ]  
   ls1 [ label="Localsettings.php" shape=note ]
   sls1 [label="Doesettings.php" shape=note ]
   fls1 [label="FullLocalSettings.php" shape=note ]
   folder1 -> fls1
   folder1 -> ls1
   folder1 -> images1
   folder1 -> sls1 [ label="optional" ]
   
   symlink2 [ label="wiki2.doe.com" shape=cds ]
   symlink2 -> code [ label="symbolic link" ]
   folder2 [ label="wiki2.doe.com" shape=folder ]
   
   images2 [ label="images" shape=folder ]
   ls2 [ label="Localsettings.php" shape=note ]
   fls2 [label="FullLocalSettings.php" shape=note ]
   folder2 -> fls2
   folder2 -> ls2
   folder2-> images2
  

   symlink3 [ label="wiki3.doe.com" shape=cds ]
   symlink3 -> code [ label="symbolic link" ]
   folder3 [ label="wiki3.doe.com" shape=folder ]
   images3 [ label="images" shape=folder ]
   ls3 [ label="Localsettings.php" shape=note ]
   fls3 [label="FullLocalSettings.php" shape=note ]
   folder3 -> fls3
   folder3 -> ls3
   folder3-> images3

   {rank=same cls;ls1;ls2;ls3}

   sites->settings
   sites->folder1 
   sites->folder2 
   sites->folder3 

   settings [ label="doeSettings.php" shape=note ]

}