def set_coordinates_for_nodes(bpmn_graph, grid):
nodes = bpmn_graph.get_nodes()<EOL>for node in nodes:<EOL><INDENT>cell = next(grid_cell for grid_cell in grid if grid_cell.node_id == node[<NUM_LIT:0>])<EOL>node[<NUM_LIT:1>][consts.Consts.x] = str(cell.col * <NUM_LIT> + <NUM_LIT:50>)<EOL>node[<NUM_LIT:1>][consts.Consts.y] = str(cell.row * <NUM_LIT:100> + <NUM_LIT:50>)<EOL><DEDENT>
:param bpmn_graph:
:param grid: