# tests/cypher/corpus/library.jsonl, method expand_node
query: "MATCH (n) WHERE elementId(n) = $anchor MATCH (m) WHERE elementId(m) IN $eids MATCH (n)-[r]-(m) WHERE ($edge_types IS NULL OR type(r) IN $edge_types) RETURN elementId(m) AS eid, type(r) AS type, properties(r) AS props, startNode(r) = n AS outgoing"
---
Match optional=False
  Path var=None selector=None
    Node var=n labels=* props={} where=None
  where=(= (Func elementid (Var n)) (Param anchor))
Match optional=False
  Path var=None selector=None
    Node var=m labels=* props={} where=None
  where=(IN (Func elementid (Var m)) (Param eids))
Match optional=False
  Path var=None selector=None
    Node var=n labels=* props={} where=None
    Rel var=r types=* dir=both props={} where=None
    Node var=m labels=* props={} where=None
  where=(OR (IS NULL (Param edge_types)) (IN (Func type (Var r)) (Param edge_types)))
Return distinct=False order=() skip=None limit=None
  eid = (Func elementid (Var m))
  type = (Func type (Var r))
  props = (Func properties (Var r))
  outgoing = (= (Func startnode (Var r)) (Var n))
