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 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 about how I would combine that with >> embedding, though; I don't want to run a standalone neo4j daemon. Because >> the app I'm embedding into will be running Python, I figure the current >> setup may not be all that sub-optimal, now that the threading problem is >> out of the way. >> >> >> > Date: Wed, 2 Nov 2011 08:05:18 -0700 >> > From: Peter Neubauer <peter.neuba...@neotechnology.com> >> > Subject: Re: [Neo4j] Java segfault using paste and Python bindings >> > To: Neo4j user discussions <user@lists.neo4j.org> >> > Message-ID: >> > <CAF59RW4TmPYPF= >> dd7plpzfwpdtpyfxvfou2fs683jahkgs6...@mail.gmail.com >> > > >> > Content-Type: text/plain; charset=ISO-8859-1 >> > >> > Michael, >> > have you looked at >> > http://docs.neo4j.org/chunked/snapshot/rest-api.html for >> > documentation? We probably should promote the manual much more >> > prominently on the site :/ >> > >> >> >> ------------------------------ >> >> Message: 4 >> Date: Wed, 2 Nov 2011 11:30:23 -0700 (PDT) >> From: Cres <cre...@gmail.com> >> Subject: Re: [Neo4j] Node Id generation deadlock >> To: user@lists.neo4j.org >> Message-ID: <1320258623627-3474747.p...@n3.nabble.com> >> Content-Type: text/plain; charset=us-ascii >> >> Hi David, >> >> Thank you very much for your response. I can see now what caused the >> deadlock. >> >> However, I'm not really sure how I can solve this problem efficiently - as >> you mentioned, your proposed solution will effectively serialize my >> transactions. Unfortunately, it'd be very difficult for me to split each >> transaction into two in the application I'm currently working on (the code >> I >> posted in the first message was just a sample code I wrote to explain the >> problem more clearly) since there are many transactions which are "higher >> up >> the chain" and are not really nearby the node factory, which is where I >> want >> to use your lock-grabbing technique. >> >> I thought about creating a nested transaction just for the update for the >> factory node's "idseq" property, after which I'd commit (and thereby >> release >> the RW lock I grabbed when removing the non-existing property), but I now >> realize it can't work because nested transactions aren't "pure nested" and >> so the lock would remain until the parent transaction commits... >> >> Is there any way I could possibly release the lock I have for the node >> without committing the entire transaction? And since I presume such a way >> doesn't exist, do you happen to know of any other possible solutions for my >> problem? >> >> Thanks again, >> Ran. >> >> -- >> View this message in context: >> http://neo4j-community-discussions.438527.n3.nabble.com/Node-Id-generation-deadlock-tp3473118p3474747.html >> Sent from the Neo4j Community Discussions mailing list archive at >> Nabble.com. >> >> >> ------------------------------ >> >> Message: 5 >> Date: Wed, 2 Nov 2011 11:59:40 -0700 (PDT) >> From: Alex <a...@auv.name> >> Subject: [Neo4j] zero fromDepth and toDepth >> To: user@lists.neo4j.org >> Message-ID: <1320260380005-3474825.p...@n3.nabble.com> >> Content-Type: text/plain; charset=us-ascii >> >> Hi everybody >> >> when setting fromDepth and toDepth both at zero, like in the following code >> >> Traversal.description.breadthFirst >> .evaluator(Evaluators.fromDepth(0)) >> .evaluator(Evaluators.toDepth(0)) >> >> I'm expecting to get only the start node, but I don't. Am I missing >> anything? >> >> Thanks! >> >> Cheers >> Alex >> >> -- >> View this message in context: >> http://neo4j-community-discussions.438527.n3.nabble.com/zero-fromDepth-and-toDepth-tp3474825p3474825.html >> Sent from the Neo4j Community Discussions mailing list archive at >> Nabble.com. >> >> >> ------------------------------ >> >> Message: 6 >> Date: Wed, 2 Nov 2011 12:48:03 -0700 (PDT) >> From: maxdemarzi <maxdema...@gmail.com> >> Subject: [Neo4j] Neo4j Installer in Neography >> To: user@lists.neo4j.org >> Message-ID: <1320263283942-3474951.p...@n3.nabble.com> >> Content-Type: text/plain; charset=us-ascii >> >> At SpringOne we were talking about a Neo4j installer as a Ruby Gem. >> >> This is not that... but it's a start. >> >> >> https://github.com/maxdemarzi/neography/commit/066ed4fb0ce76b9c648e7fa4bae8c3cdfac6af41 >> >> -- >> View this message in context: >> http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Installer-in-Neography-tp3474951p3474951.html >> Sent from the Neo4j Community Discussions mailing list archive at >> Nabble.com. >> >> >> ------------------------------ >> >> Message: 7 >> Date: Wed, 2 Nov 2011 13:24:11 -0700 >> From: Allison Sparrow <alli...@neotechnology.com> >> Subject: [Neo4j] Neo4j Events in November >> To: user@lists.neo4j.org >> Message-ID: >> <CABpNn0wVT=Ovkc2=mjiE2GHrVfqAa4rpSJ2SG=f2oq3aw+p...@mail.gmail.com >> > >> Content-Type: text/plain; charset=ISO-8859-1 >> >> *************************************** >> Hi Everyone, >> >> Here is a comprehensive list of events we have coming up in November. Check >> it out below. >> >> Remember, check back to http://plancast.com/neo4j for updates throughout >> the month. If you have any questions regarding participation, feel free to >> email me at alli...@neotechnology.com. >> >> * London Tutorial | Ian Robinson and Jim Webber's Neo4j Tutorial * >> Thursday, 3 November 2011 >> >> This intensive Neo4J tutorial provides a mixture of theory and hands-on >> practical sessions to demonstrate the capabilities of graph data and the >> Neo4j database. >> >> http://skillsmatter.com/course/nosql/neo4j-tutorial >> >> * Conference Sponsorship | ?redev Developer Conference * >> 07-11 November 2011 >> >> Neo4j will be hosting a room, and sponsoring the first 20 attendees with an >> ?redev Open ticket. All you have to do is register >> http://oredev.org/2011/oredev-open, and click the Neo4j box >> >> http://oredev.org/2011/oredev-open >> >> *Malm? Meetup | Ruby neo4j graph goodness w/ Andreas Ronge * >> Tuesday, 8 November 2011 >> >> We are meeting with the Malmo Ruby guys and see some good examples of what >> you can build with Neo4j >> >> http://www.meetup.com/malmo-ruby/events/35429252/ >> >> *Malm? Conference Talk | REST in Practice >> *Wednesday, 9 November 2011 >> >> Jim Webber presents: >> In this talk we'll show how to implement business workflows and common >> patterns like event-driven computing. We'll see how many common-sense >> distributed systems principles and best practices are inverted as we design >> to increase surface area, scale, improve availability and compose services. >> >> oredev.org/2011/sessions/rest-in-practice >> >> *Malm? Conference Talk | Test-Driven REST * >> Wednesday, 9 November 2011 >> >> Ian Robinson presents: >> REST's hypermedia constraint is all about getting things done - that is, >> making changes to the state of an application to achieve a particular goal. >> Put simply, in a web-based hypermedia system, clients apply HTTP's uniform >> interface to operate links and forms in pursuit of their application goals. >> In this session I'll discuss the implementation of machine-to-machine >> interactions in a hypermedia-driven distributed system. I'll look at how we >> can develop and test discrete parts of a workflow, and build adaptable >> clients that can be guided on the fly to complete their application goals. >> I'll conclude by introducing you to a hands-on tutorial that you can >> complete using the new Microsoft Web APIs. >> >> oredev.org/2011/sessions/test-driven-rest >> >> >> *Malm? Conference Talk | Event Sourcing Explained * >> Thursday, 10 November 2011 >> >> Rickard ?berg presents: >> Your business wants to use data from your application, but in a way that >> you didn't anticipate from the beginning. Now what do you do? If you are >> using EventSourcing, you're in luck, and this session will describe how >> this technique can help you deal with these types of situations, and more. >> >> oredev.org/2011/sessions/event-sourcing-explained >> >> *Malm? Conference Talk | From Sm?land's Woods to Silicon Valley * >> Thursday, 10 November 2011 >> >> Peter Neubauer presents: >> A company is like a baby. And it takes as long to allow it to grow. Don't >> fool yourself and be prepared for a journey from P?skallavik to Menlo Park. >> It takes a village to raise a child, and a community to grow a company. >> >> >> >> http://oredev.org/2011/sessions/from-smalands-woods-to-silicon-valley-a-modern-wilhelm-moberg-story >> >> * Webinar | Introduction to Spring Data Neo4j * >> Thursday, 10 November 2011 >> >> The Spring Data project makes it easier to build Spring-powered >> applications that use new data access technologies such as non-relational >> NOSQL databases, cloud based data services, for instance graph databases. >> This webinar is designed for enterprise developers that are working with >> Spring and need to understand how they would integrate a NOSQL graph >> database. >> >> bit.ly/uiKS6x >> >> *Webinar | Getting Started with Neo4j* >> Thursday, 17 November 2011* >> >> * >> This webinar is designed to help developers achieve a fast start with >> Neo4j.. There are no prerequisites. Join this webinar to learn: >> * basic graph concepts >> * modeling data in a graph >> * querying a graph >> >> https://www1.gotomeeting.com/register/911016521 >> >> *Fort Lauderdale Session | NOSQL: Getting Started with Neo4j* >> 29 Nov - 2 December 2011* >> * >> >> What is a graph database, why would you use it, and how do you get started? >> In this session we'll look at the kinds of problems that graph databases >> can solve and will run through the process of getting started with neo4j >> >> By the end of this session you'll have all of the information required to >> get started with neo4j on your projects. >> >> http://therichwebexperience.com/conference/fort_lauderdale/2011/11/session?id=24267 >> <https://www1.gotomeeting.com/register/911016521> >> >> *************************************** >> >> *Allison Sparrow* * >> **Marketing Manager | Neo Technology* >> +19499036091 | @ayeeson <http://twitter.com/#%21/ayeeson> >> >> *Allison Sparrow* * >> **Marketing Manager | Neo Technology* >> +19499036091 | @ayeeson <http://twitter.com/#%21/ayeeson> >> >> >> ------------------------------ >> >> Message: 8 >> Date: Wed, 2 Nov 2011 14:00:50 -0700 >> From: Peter Neubauer <peter.neuba...@neotechnology.com> >> Subject: Re: [Neo4j] Neo4j Events in November >> To: Neo4j user discussions <user@lists.neo4j.org>, neo4jrb >> <neo4...@googlegroups.com> >> Message-ID: >> <CAF59RW79a9m2KHO30X2_44U7K=VVoKASvHnUxZv2=i-c3gh...@mail.gmail.com >> > >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Everyone, >> for ?redev Open, the first 20 signups are sponsored with the campaign >> code NEOOPEN11 at http://oredev.org/2011/oredev-open, and registration >> stops on Friday 17.00 CET. See you there! >> >> 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 1:24 PM, Allison Sparrow >> <alli...@neotechnology.com> wrote: >> > *************************************** >> > Hi Everyone, >> > >> > Here is a comprehensive list of events we have coming up in November. >> Check >> > it out below. >> > >> > Remember, check back to http://plancast.com/neo4j for updates throughout >> > the month. If you have any questions regarding participation, feel free >> to >> > email me at alli...@neotechnology.com. >> > >> > * London Tutorial | Ian Robinson and Jim Webber's Neo4j Tutorial * >> > Thursday, 3 November 2011 >> > >> > This intensive Neo4J tutorial provides a mixture of theory and hands-on >> > practical sessions to demonstrate the capabilities of graph data and the >> > Neo4j database. >> > >> > http://skillsmatter.com/course/nosql/neo4j-tutorial >> > >> > * Conference Sponsorship | ?redev Developer Conference * >> > 07-11 November 2011 >> > >> > Neo4j will be hosting a room, and sponsoring the first 20 attendees with >> an >> > ?redev Open ticket. All you have to do is register >> > http://oredev.org/2011/oredev-open, and click the Neo4j box >> > >> > http://oredev.org/2011/oredev-open >> > >> > *Malm? Meetup | Ruby neo4j graph goodness w/ Andreas Ronge * >> > Tuesday, 8 November 2011 >> > >> > We are meeting with the Malmo Ruby guys and see some good examples of >> what >> > you can build with Neo4j >> > >> > http://www.meetup.com/malmo-ruby/events/35429252/ >> > >> > *Malm? Conference Talk | REST in Practice >> > *Wednesday, 9 November 2011 >> > >> > Jim Webber presents: >> > In this talk we'll show how to implement business workflows and common >> > patterns like event-driven computing. We'll see how many common-sense >> > distributed systems principles and best practices are inverted as we >> design >> > to increase surface area, scale, improve availability and compose >> services. >> > >> > oredev.org/2011/sessions/rest-in-practice >> > >> > *Malm? Conference Talk | Test-Driven REST * >> > Wednesday, 9 November 2011 >> > >> > ?Ian Robinson presents: >> > REST's hypermedia constraint is all about getting things done - that is, >> > making changes to the state of an application to achieve a particular >> goal. >> > Put simply, in a web-based hypermedia system, clients apply HTTP's >> uniform >> > interface to operate links and forms in pursuit of their application >> goals. >> > In this session I'll discuss the implementation of machine-to-machine >> > interactions in a hypermedia-driven distributed system. I'll look at how >> we >> > can develop and test discrete parts of a workflow, and build adaptable >> > clients that can be guided on the fly to complete their application >> goals. >> > I'll conclude by introducing you to a hands-on tutorial that you can >> > complete using the new Microsoft Web APIs. >> > >> > oredev.org/2011/sessions/test-driven-rest >> > >> > >> > *Malm? Conference Talk | Event Sourcing Explained * >> > Thursday, 10 November 2011 >> > >> > ?Rickard ?berg presents: >> > Your business wants to use data from your application, but in a way that >> > you didn't anticipate from the beginning. Now what do you do? If you are >> > using EventSourcing, you're in luck, and this session will describe how >> > this technique can help you deal with these types of situations, and >> more. >> > >> > oredev.org/2011/sessions/event-sourcing-explained >> > >> > *Malm? Conference Talk | From Sm?land's Woods to Silicon Valley * >> > Thursday, 10 November 2011 >> > >> > ?Peter Neubauer presents: >> > A company is like a baby. And it takes as long to allow it to grow. Don't >> > fool yourself and be prepared for a journey from P?skallavik to Menlo >> Park. >> > It takes a village to raise a child, and a community to grow a company. >> > >> > >> > >> http://oredev.org/2011/sessions/from-smalands-woods-to-silicon-valley-a-modern-wilhelm-moberg-story >> > >> > * Webinar | Introduction to Spring Data Neo4j * >> > Thursday, 10 November 2011 >> > >> > ?The Spring Data project makes it easier to build Spring-powered >> > applications that use new data access technologies such as non-relational >> > NOSQL databases, cloud based data services, for instance graph databases. >> > This webinar is designed for enterprise developers that are working with >> > Spring and need to understand how they would integrate a NOSQL graph >> > database. >> > >> > ?bit.ly/uiKS6x >> > >> > *Webinar | Getting Started with Neo4j* >> > Thursday, 17 November 2011* >> > >> > * >> > This webinar is designed to help developers achieve a fast start with >> > Neo4j.. There are no prerequisites. Join this webinar to learn: >> > * basic graph concepts >> > * modeling data in a graph >> > * querying a graph >> > >> > https://www1.gotomeeting.com/register/911016521 >> > >> > *Fort Lauderdale Session | NOSQL: Getting Started with Neo4j* >> > ?29 Nov - 2 December 2011* >> > * >> > >> > What is a graph database, why would you use it, and how do you get >> started? >> > In this session we'll look at the kinds of problems that graph databases >> > can solve and will run through the process of getting started with neo4j >> > >> > By the end of this session you'll have all of the information required to >> > get started with neo4j on your projects. >> > >> http://therichwebexperience.com/conference/fort_lauderdale/2011/11/session?id=24267 >> <https://www1.gotomeeting.com/register/911016521> >> > >> > *************************************** >> > >> > *Allison Sparrow* * >> > **Marketing Manager | Neo Technology* >> > +19499036091?| @ayeeson <http://twitter.com/#%21/ayeeson> >> > >> > *Allison Sparrow* * >> > **Marketing Manager | Neo Technology* >> > +19499036091?| @ayeeson <http://twitter.com/#%21/ayeeson> >> > _______________________________________________ >> > Neo4j mailing list >> > User@lists.neo4j.org >> > https://lists.neo4j.org/mailman/listinfo/user >> > >> >> >> ------------------------------ >> >> _______________________________________________ >> User mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> >> >> End of User Digest, Vol 56, Issue 16 >> ************************************ >> > > > > -- > Emil Dombagolla, > Software Engineer > hSenid Software International > > Phone : +94-11-2699754 > Fax : +94-11-2673845 > mobile : +94-71-9433348 > > Web : http://www.hSenid.com <http://www.hsenid.com/> > "Make it Happen" > > Web : http://www.hSenidOutsourcing.com<http://www.hsenidoutsourcing.com/> > "Making you Competitive" > > Disclaimer: This email and any files transmitted with it are confidential > and intended solely for the use of the individual or entity to which they > are addressed. The content and opinions contained in this email are not > necessarily those of hSenid Software International. If you have received > this email in error please contact the sender. > _______________________________________________ > 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