neo4j-contrib / neoclipse

Graph Database Tool
218 stars 136 forks source link

Neoclipse node color #6

Open nrkkalyan opened 12 years ago

nrkkalyan commented 12 years ago

I didn't find a way to assign a color to specific nodes. (only those assigned somehow by realationships). I'd have guessed a specific property (e.g. color, or more felexibly any property, of which the value is considered a category and the same category gets the same color automatically) which is interpreted similar like the labels, but for the coloring, but didn't find anything alike. Did I miss something?

Also, is there a way to switch off auto-rearranging every time I add a new node? it usually takes some time to arrange the nodes the way I want to keep a good overview, but whenever I add a node, the whole thing is shuffled according to the layout algorithm.

On behalf of Szabi

nawroth commented 12 years ago

Nice idea regarding node colors! And no, you didn't miss anything.

Regarding the auto-rearranging I think you have to look into this method: https://github.com/neo4j/neoclipse/blob/master/org.neo4j.neoclipse/src/main/java/org/neo4j/neoclipse/graphdb/GraphDbUtil.java#L121