ArangoXEcto.Edge.edge_fields

You're seeing just the macro edge_fields, go back to ArangoXEcto.Edge module for more information.

Macro to define the required edge fields i.e. _from and _to.

This is required when using a custom edge schema and can be used as below.

schema "user_posts" do
  edge_fields()

  field(:type, :string)
end