Optional
consoleShould output debug messages to console
false
Html id of the element you want Neovis to render on
Optional
initialThe Cypher query that will get the data
Optional
labels{
Character: {
label: 'pagerank',
group: 'community',
[Neovis.NEOVIS_ADVANCED_CONFIG]: {
cypher: {
value: "MATCH (n) WHERE id(n) = $id RETURN n.size"
},
function: {
title: (node) => {
return viz.nodeToHtml(node, undefined);
}
},
}
}
}
Optional
[NEOVIS_Optional
neo4jNeo4j Driver instance or configuration to make one
Optional
nonTells Neovis is the config is flat or not
false
Optional
relationships{
INTERACTS: {
value: 'weight',
[Neovis.NEOVIS_ADVANCED_CONFIG]: {
function: {
title: (edge) => {
return viz.nodeToHtml(edge, undefined);
}
},
}
}
}
Optional
[NEOVIS_Optional
serverdatabase name you want to connect to
neo4j
Optional
visVis network config to override neovis defaults
Generated using TypeDoc
Example