Hello all,

I am trying to understand how to model use-cases which require removal of a 
Relationship between two nodes.

Let's say that, we are capturing the current destination of a ship to a 
port.

<ship1> --- MovingTowards --> <port1>

After some time, *ship1* reaches *port1*, unloads cargo, loads new cargo 
and then sails for *port2*. The latest snapshot of the Graph should 
indicate that clearly.

To capture this correctly, I think I should remove the current relationship 
between *ship1* and *port1* and add a new relationship between *ship1* and 
*port2*

<ship1> --- Moving *'X'* Towards --> <port1>, and
<ship1> --- MovingTowards --> <port2>

How do I achieve this using Java APIs? Is this even the right approach? If 
now, what should be?

-- Nirmalya


-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to