prabushitha / gremlin-visualizer

visualize a graph network corresponding to a gremlin query
MIT License
230 stars 72 forks source link

Specify the gremlin connection as environment variables #12

Open cscetbon opened 4 years ago

cscetbon commented 4 years ago

@prabushitha could you provide a way to specify those when starting the server and remove them from interface ? something like GREMLIN_SERVER and GREMLIN_PORT (defaulting to 8182).

prabushitha commented 4 years ago

The advantage of defining the port and server in the interface is that you can work with multiple graph databases at once. This was one of the use cases when designing this tool. Otherwise, you may have to spawn up several visualizers which makes it hard to switch between.

cscetbon commented 4 years ago

yeah I understand that, I'd like a way to do it in certain cases like mine.

noliran commented 3 years ago

@prabushitha perhaps we can have the default server be the value of the ENV variable? this way we can preserve the way of working with several servers + have the default one set right

darrenhull commented 2 years ago

Where would you specify credentials?