neovis.js: NeoVis.NEOVIS_ADVANCED_CONFIG is not working in react
I wanted to change node into image as documentation here but nothing change.
here is my label config:
labels: {
Character: {
label: '',
value: 'pagerank',
group: 'community',
size: 10,
caption: true,
[NeoVis.NEOVIS_ADVANCED_CONFIG]: {
cypher: {
value: 'MATCH (n) WHERE id(n) = $id RETURN n.size '
},
function: {
title: (edge) => {
return viz.nodeToHtml(edge, undefined);
},
static: {
font: '18px',
shape: true,
image: 'https://i.pravatar.cc/300'
}
}
}
}
}
how does NeoVis.NEOVIS_ADVANCED_CONFIG work or what is it for?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 36
Sorry for not answering, glad you managed