add GetEntityTypeByType for ethod that gets entity type by type
add GetEntityTypeByType for ethod that gets entity type by type

add GetEntityTypeByType for ethod that gets entity type by type
refactorthis/GraphDiff