Arangodb custom filter/visitor for my tree graph
I have a graph with two edge definitions like this: isDepartment: [organisation] -> [organisation] hasAccess: [user] -> [organisation] Organisations are nested in a tree (no cycles). There are multiple top-level organisations without any incoming isDepartment edges. Users are granted access to one or more organisations. These can be top-level organisations or organisations somewhere lower down the tree. If a user has access to an organisation, it has access to all child organisations. I am trying to build a custom visitor or filter that gives me all accessible organisations for a user,