// 
//     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 G {
    // rankdir=LR
    subgraph cluster_http {
      label="http transport";
      node [style=filled,shape=box];
	
      B [label="B\nProblem is here"];
      E [label="E\nProblem manifests here"];
      A -> B;
      B -> C;
      C -> D;
      D -> E;
    }
    subgraph cluster_new_handshake {
      label="New handshake";
      check_lock [label="Check for lock"];
      get_ip_and_port [label="Get IP and port"];
      start_http_server [label="Start http server"];
      create_servinfo_candidate [label="Create Servinfo File in candidates directory"];
      move_servinfo [label="Move servinfo file to top directory"];
      create_lock [label="Create lock file"];
      
}
