digraph test { rankdir=LR node [shape=circle] root [label="", shape=point] root -> r [label=""] root -> f [label=""] r [label=""] r -> rr [label=""] rr [label=""] rr -> rrr [label=""] rrr [label=""] rrr -> rrrr [label=""] rrrr [label=""] rr -> rrf [label=""] rrf [label=""] rrf -> rrfr [label=""] rrfr [label=""] rrf -> rrff [label=""] rrff [label=""] rrr -> rrrf [label=""] rrrf [label=""] r -> rf [label=""] rf [label=""] rf -> rfr [label=""] rfr [label=""] rfr -> rfrr [label=""] rfrr [label=""] rfr -> rfrf [label=""] rfrf [label=""] rf -> rff [label=""] rff [label=""] rff -> rffr [label=""] rffr [label=""] rff -> rfff [label=""] rfff [label=""] f [label=""] f -> fr [label=""] fr [label=""] fr -> frr [label=""] frr [label=""] frr -> frrr [label=""] frrr [label=""] frr -> frrf [label=""] frrf [label=""] fr -> frf [label=""] frf [label=""] frf -> frfr [label=""] frfr [label=""] frf -> frff [label=""] frff [label=""] f -> ff [label=""] ff [label=""] ff -> ffr [label=""] ffr [label=""] ffr -> ffrr [label=""] ffrr [label=""] ffr -> ffrf [label=""] ffrf [label=""] ff -> fff [label=""] fff [label=""] fff -> fffr [label=""] fffr [label=""] fff -> ffff [label=""] ffff [label=""] }