refactored EdgeDefinitionEntity