I have this Cypher query:
MATCH (i:Issue {name:"SN-229"})-[d:ON_DATE]->(s:Stage)
RETURN i,(MAX(d.long)-MIN(d.long)+1) AS Days,s
and I get these results in the Neo4j Browser's Text view Which are the answers I want.
But when I view the result in the Neo4j Browser's Graph view, it insists on displaying the individual dates in the relationships!?!?
What query could I write to show me this "ideal" Graph view (the displayed dates are the MIN(d.long) dates) or at least just display the relationship with the MIN date?
This query will return all of the required info for my ideal Graph view, but again, it insists on displaying all of the relations (and I don't know how to modify the caption for the relationship, via the query, to add the 'X Days' to the relation's displayed date):
MATCH (i:Issue {name:"SN-229"})-[d:ON_DATE]->(s:Stage) RETURN i,MIN(d),(MAX(d.long)-MIN(d.long)+1) AS Days,s