Neoclipse isolated points

51 views
Skip to first unread message

Gábor Szárnyas

unread,
May 8, 2012, 5:57:37 PM5/8/12
to ne...@googlegroups.com
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

Peter Neubauer

unread,
May 9, 2012, 2:35:05 AM5/9/12
to ne...@googlegroups.com

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.

Radhakrishna Kalyan

unread,
May 9, 2012, 5:54:06 AM5/9/12
to ne...@googlegroups.com
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
--
Thanks and Regards
N Radhakrishna Kalyan

Peter Neubauer

unread,
May 9, 2012, 5:57:07 AM5/9/12
to ne...@googlegroups.com
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

Szárnyas Gábor

unread,
May 9, 2012, 11:15:58 PM5/9/12
to ne...@googlegroups.com
Thanks for your effort.

Gabor

Nrkkalyan

unread,
May 10, 2012, 12:38:28 AM5/10/12
to ne...@googlegroups.com
You are welcome

Sent from my iPhone

Kalyan

unread,
Sep 14, 2012, 2:15:00 AM9/14/12
to ne...@googlegroups.com, ne...@googlegroups.com
Sorry not yet. Currently I am looking to migrate to juno. 
Will update you

Sent from my iPad

On Sep 14, 2012, at 12:42 AM, Nuno Valente <nuno.v...@gmail.com> wrote:

Hi Radhakrishna!
Did you solve this one? Pushed to GitHub?

Best regards,
Nuno Valente.
--
 
 

vedavidh budimuri

unread,
Aug 2, 2015, 8:58:23 AM8/2/15
to Neo4j, nrkk...@gmail.com
Hello Sir, Can i know the status of the this issue (Unable to see isolated nodes in neoclipse).
Reply all
Reply to author
Forward
0 new messages