- Notifications
You must be signed in to change notification settings - Fork326
How can I set label or other informations outside nodes?#352
-
I want to show informations like labels outside the node just like the example picture but I can only put it in the nodes? Is this function still available in 2.0 version? |
BetaWas this translation helpful?Give feedback.
All reactions
Ahh, if you want it outside the node Im pretty sure you need the shape to bedot
Also I recommend next time to put the code inside code block 😅
```jsCode here ```Replies: 1 comment 9 replies
-
Yes it is, look at the migration guide, everything you can do in vis.js you can now do in neovis |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yep |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Thanks so much! I tried following the example codes but the labels are still inside my nodes. Could you take a look at my code, please? labels:{User:{label:"userid",value:"pagerank",group:"communityId",[NeoVis.NEOVIS_ADVANCED_CONFIG]:{cypher:{value:"MATCH (n) WHERE id(n) = $id RETURN n.weight AS c"},function:{title:NeoVis.objectToTitleHtml},static:{font:{size:26,color:"#000FFF"},}}},Community:{label:"communityId",[NeoVis.NEOVIS_ADVANCED_CONFIG]:{cypher:{value:"MATCH (n) WHERE id(n) = $id RETURN (10 - n.risk_level_count - n.risk_level_price) AS s"},function:{title:NeoVis.objectToTitleHtml}}}},relationships:{TRANSACTION:{value:"weight",[NeoVis.NEOVIS_ADVANCED_CONFIG]:{function:{title:NeoVis.objectToTitleHtml}}},BELONG_TO:{[NeoVis.NEOVIS_ADVANCED_CONFIG]:{function:{title:NeoVis.objectToTitleHtml}}}}, |
BetaWas this translation helpful?Give feedback.
All reactions
-
sorry for the indention, it became messy after I paste |
BetaWas this translation helpful?Give feedback.
All reactions
-
Ahh, if you want it outside the node Im pretty sure you need the shape to be |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thanks so much for your answer!! Sorry for the format, it was my first time use this discussion board, I truly appreciate your help! |
BetaWas this translation helpful?Give feedback.
All reactions
-
No problem! |
BetaWas this translation helpful?Give feedback.
