//  Copyright 2006-2017, Matthew Welland.
// 
// This file is part of Megatest.
// 
//     Megatest is free software: you can redistribute it and/or modify
//     it under the terms of the GNU General Public License as published by
//     the Free Software Foundation, either version 3 of the License, or
//     (at your option) any later version.
// 
//     Megatest is distributed in the hope that it will be useful,
//     but WITHOUT ANY WARRANTY; without even the implied warranty of
//     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//     GNU General Public License for more details.
// 
//     You should have received a copy of the GNU General Public License
//     along with Megatest.  If not, see <http://www.gnu.org/licenses/>.
// 
digraph megatest_code_hierarchy {
  ranksep=0.05;
  // rankdir=LR

  node [shape=box,style=filled,fontname="clear",fontsize="10"];

  subgraph cluster_megatest {
    label="megatest";

    rmtmod [label="rmt mod"];
    // httpmod [label="http-transportmod"];
    // commonmod
    mtargs     -> commonmod;
    pkts       -> commonmod;
    mtconfigf  -> commonmod;
    processmod -> commonmod;
    stml2      -> commonmod;
    // apimod
    commonmod -> apimod;
    dbmod     -> apimod;
    servermod -> apimod;
    // rmtmod
    dbmod     -> rmtmod;
    commonmod -> rmtmod;
    apimod    -> rmtmod;
    ulex      -> rmtmod;
    itemsmod  -> rmtmod;
    // dbmod
    commonmod -> dbmod;
    keysmod   -> dbmod;
    tasksmod  -> dbmod;
    odsmod    -> dbmod;
    mtargs    -> dbmod;
    mtconfigf -> dbmod;
    // tasksmod
    commonmod -> tasksmod;
    pgdbmod   -> tasksmod;
    mtconfigf -> tasksmod;
    // odsmod
    commonmod -> odsmod;
    // testsmod
    commonmod -> testsmod;
    mtargs    -> testsmod;
    servermod -> testsmod;
    mtconfigf -> testsmod;
    itemsmod  -> testsmod;
    dbmod     -> testsmod;
    // mtmod
    mtconfigf -> mtmod;
    commonmod -> mtmod;
    rmtmod    -> mtmod;
    servermod -> mtmod;
    taskmod   -> mtmod;
    mtargs    -> mtmod;
    // launchmod -> mtmod;
    // runsmod
    mtmod     -> runsmod;
    commonmod -> runsmod;
    testsmod  -> runsmod;
    // pgdbmod
    commonmod -> pgdbmod;
    mtconfigf -> pgdbmod;
    //servermod
    commonmod -> servermod;
    dbmod     -> servermod;
    mtconfigf -> servermod;
    mtargs    -> servermod;
    tasksmod  -> servermod;
    // launchmod
    // commonmod -> launchmod;
    // rmtmod    -> launchmod;
    // testsmod  -> launchmod;
    // mtconfigf -> launchmod;
    // mtargs    -> launchmod;
    // subrunmod -> launchmod;
    // dbmod     -> launchmod;
    
    // subrun
    
}
  
}

