Re: [Neo4j] How to increase the thickness of relationship line in Neo4j

2018-08-29 Thread 'Michael Hunger' via Neo4j
can you please re-post your question in
https://community.neo4j.com/c/neo4j-graph-platform/visualization

Thanks a lot.

Michael

On Wed, Aug 29, 2018 at 4:10 PM, Ganesh Babu 
wrote:

> Hi All,
>
> I am looking for help to customize the relationship line between the
> nodes. I have two nodes and each nodes I have given common label "Username"
> and it has a properties one node is having Sender & other node is having
> Receiver. In my data set, there are multiple records with same
> Sender-Receiver combination. Currently when i generate the graph, there are
> multiple lines traversing from sender to receiver. Now my requirement is to
> have a one single line between sender and receiver, but the thickness of
> the line has to vary depending
> on the number of sender-receiver combination available in the data set.
>
> To make it clear, assume sender x...@gmail.com receiver a...@gmail.com and
> there are 50 records in the data set, with the same combination.
> In the graph, relationship line between sender and receiver has to
> thicker, when compared to another set of sender & receiver combination
> which has only 5 records in the data set.
>
> Can we able to achieve this kind of relationship line in Neo4j?
>
> Please let me know your thoughts and share any documentation.
>
> Below is the Query I tried to build the relationship with the subject
> property,
>
> LOAD CSV WITH HEADERS FROM "file:///result.csv" AS csvLine
> MERGE (p1:Username {Property: csvLine.Receiver})
> MERGE (p2:Username {Property: csvLine.Sender})
> MERGE (p3)-[:SENT_TO {subject: csvLine.Subject} ]-(p1)
>
> Attached the sample graph for reference,
>
> [image: Neo4j_Transport_Log.PNG]
>
> In the above graph the sender *Vishal *is sent data to *Suraj *thrice
> with different subjects and I want to increase the thickness of the
> relationship line between the Vishal & Suraj.
>
>
> Thanks,
> Ganeshbabu R
>
> --
> 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 neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] How to increase the thickness of relationship line in Neo4j

2018-08-29 Thread Ganesh Babu
Hi All,

I am looking for help to customize the relationship line between the nodes. 
I have two nodes and each nodes I have given common label "Username" and it 
has a properties one node is having Sender & other node is having Receiver. 
In my data set, there are multiple records with same Sender-Receiver 
combination. Currently when i generate the graph, there are multiple lines 
traversing from sender to receiver. Now my requirement is to have a one 
single line between sender and receiver, but the thickness of the line has 
to vary depending 
on the number of sender-receiver combination available in the data set.

To make it clear, assume sender x...@gmail.com receiver a...@gmail.com and 
there are 50 records in the data set, with the same combination.
In the graph, relationship line between sender and receiver has to thicker, 
when compared to another set of sender & receiver combination which has 
only 5 records in the data set.

Can we able to achieve this kind of relationship line in Neo4j?

Please let me know your thoughts and share any documentation.

Below is the Query I tried to build the relationship with the subject 
property,

LOAD CSV WITH HEADERS FROM "file:///result.csv" AS csvLine
MERGE (p1:Username {Property: csvLine.Receiver})
MERGE (p2:Username {Property: csvLine.Sender})
MERGE (p3)-[:SENT_TO {subject: csvLine.Subject} ]-(p1)

Attached the sample graph for reference,

[image: Neo4j_Transport_Log.PNG] 

In the above graph the sender *Vishal *is sent data to *Suraj *thrice with 
different subjects and I want to increase the thickness of the relationship 
line between the Vishal & Suraj.


Thanks,
Ganeshbabu R

-- 
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 neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.