# Register an edge type (/reference/api/edge-types/registerEdgeType)

Registers an edge type and returns it. With `evolve_constraints: true`, widens a registered type's endpoint constraints and may rename its labels, without changing its edges. An edge type can't extend another.