Interface BaseNeovisConfig

Hierarchy

Properties

consoleDebug?: boolean

Should output debug messages to console

Default

false
containerId: string

Html id of the element you want Neovis to render on

dataFunction?: ((any?) => AsyncIterable<Record<Dict<PropertyKey, any>, PropertyKey, Dict<string, number>>> | Promise<Iterable<Record<Dict<PropertyKey, any>, PropertyKey, Dict<string, number>>>>)

Type declaration

    • (any?): AsyncIterable<Record<Dict<PropertyKey, any>, PropertyKey, Dict<string, number>>> | Promise<Iterable<Record<Dict<PropertyKey, any>, PropertyKey, Dict<string, number>>>>
    • function to get the data instead of neo4j driver

      Parameters

      • Optional any: any

      Returns AsyncIterable<Record<Dict<PropertyKey, any>, PropertyKey, Dict<string, number>>> | Promise<Iterable<Record<Dict<PropertyKey, any>, PropertyKey, Dict<string, number>>>>

      list of neo4j data

groupAsLabel?: boolean

Should group be the label

Default

true
initialCypher?: string

The Cypher query that will get the data

neo4j?: Driver | Neo4jConfig

Neo4j Driver instance or configuration to make one

nonFlat?: boolean

Tells Neovis is the config is flat or not

Default

false
serverDatabase?: string

database name you want to connect to

Default

neo4j
visConfig?: Options

Vis network config to override neovis defaults

Link

https://visjs.github.io/vis-network/docs/network/#options

Generated using TypeDoc