Sigma JS not connecting to non-default db

I am using Sigma Js for displaying the graph in UI.

I have multiple database in my neo4j instance. By default it is connecting to default db.
I need to connect to another db in the same instance. Please let me know which configuration can I use for sigma to connect to non-default db.


Hi @abhi.abhishekkhurana
can you try with?

const session = driver.session({
  database: 'foo'