Re: [Neo4j] User Digest, Vol 56, Issue 16
Hi , Thanks Andreas Kollegger and Rick Bullotta, i am using vaadin framework. but the issue is.how to build a tree using nodes. becouse we are selecting nodes form different levels of the graph based on some conditions . then i have to merge child node with if the parent nodes are available in the current result. i think i have to do a algorithm for this. is there any easy api available with neo for this kind of task. Please help me with your soulutions. Thanka Emil On Thu, Nov 3, 2011 at 2:31 AM, user-requ...@lists.neo4j.org wrote: Send User mailing list submissions to user@lists.neo4j.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.neo4j.org/mailman/listinfo/user or, via email, send a message with subject or body 'help' to user-requ...@lists.neo4j.org You can reach the person managing the list at user-ow...@lists.neo4j.org When replying, please edit your Subject line so it is more specific than Re: Contents of User digest... Today's Topics: 1. Re: Tree structure (Andreas Kollegger) 2. Re: Tree structure (Rick Bullotta) 3. Re: User Digest, Vol 56, Issue 12 (Michael Rene Armida) 4. Re: Node Id generation deadlock (Cres) 5. zero fromDepth and toDepth (Alex) 6. Neo4j Installer in Neography (maxdemarzi) 7. Neo4j Events in November (Allison Sparrow) 8. Re: Neo4j Events in November (Peter Neubauer) -- Message: 1 Date: Wed, 2 Nov 2011 10:52:44 -0700 From: Andreas Kollegger andreas.kolleg...@neotechnology.com Subject: Re: [Neo4j] Tree structure To: Neo4j user discussions user@lists.neo4j.org Message-ID: ab950280-d372-40b0-b270-6cf81bde2...@neotechnology.com Content-Type: text/plain; charset=us-ascii Hi Emil, Are you interested in displaying the tree structure in a web interface? You could either take a widget-approach using something like jstree ( http://www.jstree.com/) or a more model visualization using D3 ( http://mbostock.github.com/d3/ex/). Cheers, Andreas On Nov 2, 2011, at 9:36 AM, Emil Dombagolla wrote: Hi all, i need to display a tree structure , based on the nodes i retrieved from the database through traverse. Nodes are gathered from different levels of the graph. some of the nodes are having parent / child relation in the graph. so if my result containing such a relation i want to display it in a tree structure. Please help me on this and please give me your ideas how to solve this. Thanks a lot. Emil Dombagolla, ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Message: 2 Date: Wed, 2 Nov 2011 10:53:54 -0700 From: Rick Bullotta rick.bullo...@thingworx.com Subject: Re: [Neo4j] Tree structure To: Neo4j user discussions user@lists.neo4j.org Message-ID: 09df3402c845ec489a3323a06208f20d1b46e...@p3pw5ex1mb14.ex1.secureserver.net Content-Type: text/plain; charset=us-ascii I've used d3. You do need a bit of JQuery/Javascript skills to munge the data into a form the d3 libraries expect it, but the results are impressive if you do. From: user-boun...@lists.neo4j.org [user-boun...@lists.neo4j.org] On Behalf Of Andreas Kollegger [andreas.kolleg...@neotechnology.com] Sent: Wednesday, November 02, 2011 1:52 PM To: Neo4j user discussions Subject: Re: [Neo4j] Tree structure Hi Emil, Are you interested in displaying the tree structure in a web interface? You could either take a widget-approach using something like jstree ( http://www.jstree.com/) or a more model visualization using D3 ( http://mbostock.github.com/d3/ex/). Cheers, Andreas On Nov 2, 2011, at 9:36 AM, Emil Dombagolla wrote: Hi all, i need to display a tree structure , based on the nodes i retrieved from the database through traverse. Nodes are gathered from different levels of the graph. some of the nodes are having parent / child relation in the graph. so if my result containing such a relation i want to display it in a tree structure. Please help me on this and please give me your ideas how to solve this. Thanks a lot. Emil Dombagolla, ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Message: 3 Date: Wed, 2 Nov 2011 11:05:02 -0700 From: Michael Rene Armida m...@marmida.com Subject: Re: [Neo4j] User Digest, Vol 56, Issue 12 To: user@lists.neo4j.org Message-ID: CAPeGkJ4Vm3gKHr=zlolbnrchdx51wnrb+hcfbfo-5p42e9u...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 I hadn't. I'm still confused
Re: [Neo4j] User Digest, Vol 56, Issue 16
Emil, I am not totally following your thoughts (would be great with an example in pictures). Have you looked at Cypher tree structure handling, e.g. http://docs.neo4j.org/chunked/snapshot/examples-acl-structures-in-graphs.html#_read_permission_example to find some inspiration? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. On Wed, Nov 2, 2011 at 5:18 PM, Emil Dombagolla em...@hsenidoutsourcing.com wrote: Hi , Thanks Andreas Kollegger and Rick Bullotta, i am using vaadin framework. but the issue is.how to build a tree using nodes. becouse we are selecting nodes form different levels of the graph based on some conditions . then i have to merge child node with if the parent nodes are available in the current result. i think i have to do a algorithm for this. is there any easy api available with neo for this kind of task. Please help me with your soulutions. Thanka Emil On Thu, Nov 3, 2011 at 2:31 AM, user-requ...@lists.neo4j.org wrote: Send User mailing list submissions to user@lists.neo4j.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.neo4j.org/mailman/listinfo/user or, via email, send a message with subject or body 'help' to user-requ...@lists.neo4j.org You can reach the person managing the list at user-ow...@lists.neo4j.org When replying, please edit your Subject line so it is more specific than Re: Contents of User digest... Today's Topics: 1. Re: Tree structure (Andreas Kollegger) 2. Re: Tree structure (Rick Bullotta) 3. Re: User Digest, Vol 56, Issue 12 (Michael Rene Armida) 4. Re: Node Id generation deadlock (Cres) 5. zero fromDepth and toDepth (Alex) 6. Neo4j Installer in Neography (maxdemarzi) 7. Neo4j Events in November (Allison Sparrow) 8. Re: Neo4j Events in November (Peter Neubauer) -- Message: 1 Date: Wed, 2 Nov 2011 10:52:44 -0700 From: Andreas Kollegger andreas.kolleg...@neotechnology.com Subject: Re: [Neo4j] Tree structure To: Neo4j user discussions user@lists.neo4j.org Message-ID: ab950280-d372-40b0-b270-6cf81bde2...@neotechnology.com Content-Type: text/plain; charset=us-ascii Hi Emil, Are you interested in displaying the tree structure in a web interface? You could either take a widget-approach using something like jstree ( http://www.jstree.com/) or a more model visualization using D3 ( http://mbostock.github.com/d3/ex/). Cheers, Andreas On Nov 2, 2011, at 9:36 AM, Emil Dombagolla wrote: Hi all, i need to display a tree structure , based on the nodes i retrieved from the database through traverse. Nodes are gathered from different levels of the graph. some of the nodes are having parent / child relation in the graph. so if my result containing such a relation i want to display it in a tree structure. Please help me on this and please give me your ideas how to solve this. Thanks a lot. Emil Dombagolla, ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Message: 2 Date: Wed, 2 Nov 2011 10:53:54 -0700 From: Rick Bullotta rick.bullo...@thingworx.com Subject: Re: [Neo4j] Tree structure To: Neo4j user discussions user@lists.neo4j.org Message-ID: 09df3402c845ec489a3323a06208f20d1b46e...@p3pw5ex1mb14.ex1.secureserver.net Content-Type: text/plain; charset=us-ascii I've used d3. You do need a bit of JQuery/Javascript skills to munge the data into a form the d3 libraries expect it, but the results are impressive if you do. From: user-boun...@lists.neo4j.org [user-boun...@lists.neo4j.org] On Behalf Of Andreas Kollegger [andreas.kolleg...@neotechnology.com] Sent: Wednesday, November 02, 2011 1:52 PM To: Neo4j user discussions Subject: Re: [Neo4j] Tree structure Hi Emil, Are you interested in displaying the tree structure in a web interface? You could either take a widget-approach using something like jstree ( http://www.jstree.com/) or a more model visualization using D3 ( http://mbostock.github.com/d3/ex/). Cheers, Andreas On Nov 2, 2011, at 9:36 AM, Emil Dombagolla wrote: Hi all, i need to display a tree structure , based on the nodes i retrieved from the database through traverse. Nodes are gathered from different levels of the graph. some of the nodes are having parent / child relation in the graph. so if my result containing such a relation i want to display it in a tree structure. Please help me on this and please give me your ideas how to
Re: [Neo4j] User Digest, Vol 56, Issue 16
Something you could probably do is to return paths from cypher or traversal and then pick the nodes off the paths that you're interested in - from the path you get the tree-structure aka. the path's to the root of your tree. From the information extracted there you can build your composite object/structure which can then be rendered whatever technique you'd like to use. If I understood you correctly the challenge was how to keep the structural information which nodes are in which position of the hierarchy ? Cheers Michael Am 03.11.2011 um 01:18 schrieb Emil Dombagolla: Hi , Thanks Andreas Kollegger and Rick Bullotta, i am using vaadin framework. but the issue is.how to build a tree using nodes. becouse we are selecting nodes form different levels of the graph based on some conditions . then i have to merge child node with if the parent nodes are available in the current result. i think i have to do a algorithm for this. is there any easy api available with neo for this kind of task. Please help me with your soulutions. Thanka Emil On Thu, Nov 3, 2011 at 2:31 AM, user-requ...@lists.neo4j.org wrote: Send User mailing list submissions to user@lists.neo4j.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.neo4j.org/mailman/listinfo/user or, via email, send a message with subject or body 'help' to user-requ...@lists.neo4j.org You can reach the person managing the list at user-ow...@lists.neo4j.org When replying, please edit your Subject line so it is more specific than Re: Contents of User digest... Today's Topics: 1. Re: Tree structure (Andreas Kollegger) 2. Re: Tree structure (Rick Bullotta) 3. Re: User Digest, Vol 56, Issue 12 (Michael Rene Armida) 4. Re: Node Id generation deadlock (Cres) 5. zero fromDepth and toDepth (Alex) 6. Neo4j Installer in Neography (maxdemarzi) 7. Neo4j Events in November (Allison Sparrow) 8. Re: Neo4j Events in November (Peter Neubauer) -- Message: 1 Date: Wed, 2 Nov 2011 10:52:44 -0700 From: Andreas Kollegger andreas.kolleg...@neotechnology.com Subject: Re: [Neo4j] Tree structure To: Neo4j user discussions user@lists.neo4j.org Message-ID: ab950280-d372-40b0-b270-6cf81bde2...@neotechnology.com Content-Type: text/plain; charset=us-ascii Hi Emil, Are you interested in displaying the tree structure in a web interface? You could either take a widget-approach using something like jstree ( http://www.jstree.com/) or a more model visualization using D3 ( http://mbostock.github.com/d3/ex/). Cheers, Andreas On Nov 2, 2011, at 9:36 AM, Emil Dombagolla wrote: Hi all, i need to display a tree structure , based on the nodes i retrieved from the database through traverse. Nodes are gathered from different levels of the graph. some of the nodes are having parent / child relation in the graph. so if my result containing such a relation i want to display it in a tree structure. Please help me on this and please give me your ideas how to solve this. Thanks a lot. Emil Dombagolla, ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Message: 2 Date: Wed, 2 Nov 2011 10:53:54 -0700 From: Rick Bullotta rick.bullo...@thingworx.com Subject: Re: [Neo4j] Tree structure To: Neo4j user discussions user@lists.neo4j.org Message-ID: 09df3402c845ec489a3323a06208f20d1b46e...@p3pw5ex1mb14.ex1.secureserver.net Content-Type: text/plain; charset=us-ascii I've used d3. You do need a bit of JQuery/Javascript skills to munge the data into a form the d3 libraries expect it, but the results are impressive if you do. From: user-boun...@lists.neo4j.org [user-boun...@lists.neo4j.org] On Behalf Of Andreas Kollegger [andreas.kolleg...@neotechnology.com] Sent: Wednesday, November 02, 2011 1:52 PM To: Neo4j user discussions Subject: Re: [Neo4j] Tree structure Hi Emil, Are you interested in displaying the tree structure in a web interface? You could either take a widget-approach using something like jstree ( http://www.jstree.com/) or a more model visualization using D3 ( http://mbostock.github.com/d3/ex/). Cheers, Andreas On Nov 2, 2011, at 9:36 AM, Emil Dombagolla wrote: Hi all, i need to display a tree structure , based on the nodes i retrieved from the database through traverse. Nodes are gathered from different levels of the graph. some of the nodes are having parent / child relation in the graph. so if my result containing such a relation i want to display it in a tree structure. Please help me on this and please give me your ideas how to solve this. Thanks a lot. Emil Dombagolla, ___ Neo4j mailing