digraph bigdag {
        // databases
        node[shape=Mcircle]
        ifbeam[fixedsize=true,width=2,label="Beam Device DB\n(ACNET device info)\neg spill time,\non target"]
        conddb[fixedsize=true,width=2,label="Det/DAQ\nCondDB\neg HV"]

        // files
        node[shape=octagon]
        raw[label="ADC DAQ\nfile"]
        sigfile[label="Ioniz. Signals\nfile"]
        fmcfile[label="Categorized\nclusters file"]

        // data objects
        node[shape=ellipse]
        edep[label="Energy Depos\n(sim::SimEnergyDeposit"]
        digit[label="ADC LS memory\n(raw::RawDigit)"]
        signal[label="ioniz. signals\n(recob::Wire)"]
        hit[label="Gauss. wf fit\n(recbo::Hit)"]
        clust[label="3D clusters"]
        reco[label="Reco objects\n(various)"]
        fmc[label="categorized\nclusters"]
        
        // processes
        node[shape=box]
        daq[label="DAQ"]
        fakedaq[label="fake DAQ\n(a new LS module)"]
        noisefilter[label="noise filter\n(WCT)"]
        sigproc[label="signal processing\n(WCT decon+ROI)"]
        hitfit[label="Gaussian w/f fitter"]
        wcclust[label="WC clustering"]
        lsclust[label="LS clustering"]
        flash[label="Flash Matching\ncluster categorizing"]
        wcreco[label="Wire-Cell\ntrack/shower/pat. req"]
        lsreco[label="LArSoft\ntrack/shower/pat.req"]
        geant[label="interaction simulation\n(GENIE+Geant4)"]
        qdetsim[label="charge det sim\n(2D WCT or 1D LS)"]
        ldetsim[label="light det sim\n(LArSoft)"]
        

        {rank=same;
                wcclust;
                lsclust}
        {rank=same;
                wcreco;
                lsreco}

        daq->raw
        geant->edep
        edep->qdetsim->digit
        edep->ldetsim->digit
        digit->fakedaq->raw
        raw->digit->noisefilter->sigproc->signal

        signal->sigfile->signal

        signal->hitfit->hit->lsclust->clust

        signal->wcclust->clust

        clust->flash->fmc->fmcfile->fmc


        fmc->wcreco
        fmc->lsreco

        wcreco->reco
        lsreco->reco

        // DB access
        edge[style=dotted,dir=both]
        conddb->flash
        ifbeam->flash

}
