1. A method for processing grid layout, comprising: generating a fiducial graph for a grid in a given dimension, the fiducial graph comprising fiducials and constraints of the grid, each constraint having a size preference, the size preference comprising a size and elastic properties; traversing the fiducial graph, combining the size preferences of the constraints into a size preference for the grid in the given dimension; assigning a size to the grid; and assigning positions to the grid fiducials by traversing the fiducial graph, allocating sizes within the grid size to the grid constraints in the given dimension.