Google Groups

Re: [Neo4j] Neoclipse isolated points


Peter Neubauer May 9, 2012 2:57 AM
Posted in group: Neo4j
Much appreciated Radhakrishna!

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

If you can write, you can code - @coderdojomalmo
If you can sketch, you can use a graph database - @neo4j


On Wed, May 9, 2012 at 11:54 AM, Radhakrishna Kalyan
<nrkk...@gmail.com> wrote:
> Hi,
>
> Yes currently one can not able to see isolated nodes in neoclipse graph
> view. I got similar email few days back.
> I am working on this and will release the fix ASAP.
>
> Kalyan
>
>
> On Wed, May 9, 2012 at 8:35 AM, Peter Neubauer <neubaue...@gmail.com>
> wrote:
>>
>> Right. That is a limitation. Radhakrishna is working on replacing the
>> index lookup with cypher queries, which let's you find anything in the
>> graph. Wanna pitch in there?
>>
>> Send from mobile.
>>
>> On May 9, 2012 7:07 AM, "Gábor Szárnyas" <szar...@gmail.com> wrote:
>>>
>>> Hello!
>>>
>>> I use Neo4j 1.7 and Neoclipse 1.7 on Windows 7. My problem is that I
>>> can't find isolated points in Neoclipse.
>>>
>>> An example: I constructed a simple graph with 3 connected points and an
>>> isolated one.
>>>
>>>         GraphDatabaseService graphDb = new
>>> EmbeddedGraphDatabase("tempdb");
>>>         Transaction tx = graphDb.beginTx();
>>>         try {
>>>             // graph: (0)---"A"--->(1)---"B"--->(2)       (3)
>>>
>>>             List<Node> nodes = new ArrayList<Node>();
>>>             for (int i = 0; i < 4; i++) {
>>>                 Node node = graphDb.createNode();
>>>                 node.setProperty("label", "(" + i + ")");
>>>                 nodes.add(node);
>>>             }
>>>
>>>             Relationship relationshipA =
>>> nodes.get(0).createRelationshipTo(nodes.get(1), MyTypes.POINTS_TO);
>>>             relationshipA.setProperty("edgelabel", "A");
>>>             Relationship relationshipB =
>>> nodes.get(1).createRelationshipTo(nodes.get(2), MyTypes.POINTS_TO);
>>>             relationshipB.setProperty("edgelabel", "B");
>>>
>>>             tx.success();
>>>         } finally {
>>>             tx.finish();
>>>         }
>>>         graphDb.shutdown();
>>>
>>> Neoclipse shows nodes (0) and (1). By increasing the traversal depth by
>>> one node (2) becomes visible as well. How can I see (3) from Neoclipse?
>>> Obviously, if I export the graph to JSON/XML, the file contains the
>>> isolated point.
>>>
>>> Thanks,
>>> Gabor Szarnyas
>>> BUTE CS student
>
>
>
>
> --
> Thanks and Regards
> N Radhakrishna Kalyan