Type alias EdgeSchema<VF, VT, P>

EdgeSchema<VF, VT, P>: {
    from: VF;
    props?: P;
    to: VT;
}

Type Parameters

  • VF extends Omit<Vertex, "$id"> = Omit<Vertex, "$id">

  • VT extends Omit<Vertex, "$id"> = Omit<Vertex, "$id">

  • P extends Record<string, unknown> = Record<string, unknown>

Type declaration

  • from: VF
  • Optional props?: P
  • to: VT

Generated using TypeDoc