NeoVis.NEOVIS_ADVANCED_CONFIG is not working in react
See original GitHub issueI 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?
Issue Analytics
- State:
- Created 9 months ago
- Comments:36
Top Results From Across the Web
Are the tooltips gone in 2.0.0? · Issue #176 - GitHub
Hi all, I have just tested branch 2.0.0 and noticed that tooltips are gone. Is that right? How are node properties shown?
Read more >Neo4j NeoVis trouble - Stack Overflow
I dont get it. draw() is defined, isnt it? And the query works fine within the Neo4j-browser too. Can you figure out whats...
Read more >Error - Unhandled promise rejection while using Neovis.js
Basically, Cannot read property 'hasChildNodes' of null, DOM is trying to get rendered before the query finishes loading the required data. I'm ...
Read more >CDN Links - React
Both React and ReactDOM are available over a CDN. ... The versions above are only meant for development, and are not suitable for...
Read more >NeovisConfig | neovis.js
Interface NeovisConfig ; containerId · "viz" ; serverUrl · "bolt://localhost:7687" ; serverUser · "neo4j" ; serverPassword · "sorts-swims-burglaries" ; label · "name" ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry for not answering, glad you managed
Hey @thebestnom thanks for the being there.
this is my new config and its working perfectly as I want.
I’m closing this issue.