METAMODEL-99: Detecting all possible labels in the graph and creating
SimpleTableDefs from it.