Ejemplo n.º 1
0
def connectTheDots():
    """
    Called after all the anatomy has been read into memory to connect
    it all together.

    NOTE: This implementation is a hack.  It creates additional structures
    in the high level modules, rather than directly modifies the individual
    objects.

    For each node, create:
        list of all its parent nodes
        list of all its child nodes
        list of all its timed nodes, by stage

    For each timed node, create:
        list of all its parent timed nodes
        list of all its child timed nodes

    """
    Nodes.connectTheDots()
    TimedNodes.connectTheDots()

    return