feat(graphs.graph) Adds id to the graph and sets rootId on the components (ready)