You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
function handleCreateTextNode() { Graph.nodeThreeObject(node => { console.log('Create text node ...!'); const nodeEl = document.createElement('div'); return new CSS2DObject(nodeEl); }) Graph.linkThreeObject(link => { if(link.relationship_type !== '') { console.log('Create link label'); const nodeEl = document.createElement('div'); return new CSS2DObject(nodeEl); } }) }
It's the same with nodeThreeObject but every time hover a Node and call updateHighlight , the linkThreeObject is recall.
function updateHighlight() { // trigger update of highlighted objects in scene Graph .nodeColor(Graph.nodeColor()) .linkWidth(Graph.linkWidth()) .linkColor(Graph.linkColor()) }
if remove linkWidth & .linkColor it will not recall but can not high light the hover node. Describe the solution you'd like
Only call for the first time when Graph is fetching data
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
function handleCreateTextNode() { Graph.nodeThreeObject(node => { console.log('Create text node ...!'); const nodeEl = document.createElement('div'); return new CSS2DObject(nodeEl); }) Graph.linkThreeObject(link => { if(link.relationship_type !== '') { console.log('Create link label'); const nodeEl = document.createElement('div'); return new CSS2DObject(nodeEl); } }) }
It's the same with nodeThreeObject but every time hover a Node and call updateHighlight , the linkThreeObject is recall.
function updateHighlight() { // trigger update of highlighted objects in scene Graph .nodeColor(Graph.nodeColor()) .linkWidth(Graph.linkWidth()) .linkColor(Graph.linkColor()) }
if remove linkWidth & .linkColor it will not recall but can not high light the hover node.
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: