GraphAlchemist / Alchemy

Other
517 stars 234 forks source link

How to give a new style to a new egde #566

Open aelkebbaj opened 9 years ago

aelkebbaj commented 9 years ago

Hello,

I'm a freshman in this new technology (Neo4j). The objective of my application is to secure the data using Neo4j graph and PHP. I have some users, each one has access to a specific folder. For example:

If oneday, Yannick got access to Folder2 I have to get the edge between them in red color. I'm using your javascript: "http://cdn.graphalchemist.com/alchemy.min.js". to color a new node I used a cluster property. But I didn't find the way to color a just the new edge added, In our example I want to color the edge between Yannick and Folder2 in red color, and the both nodes in green color.

Please, do not hesitate to contact me for further information.

I really need your help.

Best Regards.