rename_edge_type
Exact-match rename of every edge of type `from` to type `to`, optionally flipping source/target. Single transactional pass. Defaults to `dry_run: true`; pass `dry_run: false` to commit. Low-level primitive: skips catalog validation. Use catalog-aware migration tools for validated renames.
Edgesatomic. Single-pass mutation; an empty match-set is a clean
no-op rather than an error.
Arguments
fromstringrequiredCurrent edge type (exact match)
tostringrequiredNew edge type to assign
flipbooleanoptionalWhen true, swap source/target on each renamed edge (default false)
dry_runbooleanoptionalPreview without mutating (default true)
Returns
JSON: with
dry_run: true, { dry_run, from, to, flip, would_rename, sample }.With
dry_run: false, { dry_run, from, to, flip, renamed, ids }.