Automatically Define the State of All Entities in the Graph