I'm developing a multi-tenant service that utilizes a graph database. I want to store multiple tenants in a single cluster to reduce costs. However, I want to ensure that their resources are isolated. I know in Gremlin that one can use the PartitionStrategy to cause traversals to only explore certain subgraphs. I'm using NodeJS and can't seem to find a PartitionStrategy object. Is there a way to implement it or create a custom class that carries out the same functionality? Also, would labeling every node with a :Tenant property suffice?
Thanks!