# Example for dotting & viewing:
# dot -Tpng -o archiveconfig_sample.png archiveconfig_sample.dot && open archiveconfig_sample.png

digraph ArchiveConfigSample
{
    compound=true;
    node [ shape=box ]; 

    archiveconfig [ label="archiveconfig.xml" ]; 

    make_info [ shape=ellipse, label="make_archive_infofile.pl,\lmake_archive_web.pl" ];
    archiveconfig -> make_info [ style=dotted ];

    info [ label="daemon and engine status\lfor email or web" ];
    make_info -> info;

    update_archive_tree [ shape=ellipse, label="update_archive_tree.pl" ];
    archiveconfig -> update_archive_tree [ style=dotted ];

    subgraph cluster1
    {
        label="Directory tree where data is collected";
        daemon [ shape=ellipse, label="ArchiveDaemon.pl" ]; 
        engine [ shape=ellipse, label="ArchiveEngine\l(multiple)" ]; 
        data [ label="SYS/sub/2006/03_01/index and data" ]; 
        daemon -> engine;
        engine -> data;
    }

    update_archive_tree -> daemon [ lhead=cluster1 ];

    mailbox [ label="mailbox" ];
    daemon -> mailbox;
}
