Function calculateChildCoords

  • Calculate a node's coords. The 1d coords are determined by looking at how many children have already been handled. The 2d coords are simply taken from the 2d nav(x,y) directive's inputs.

    Parameters

    Returns Coords