If you want to take control over relationships it's a matter of creating documents that look more like classic "edge" records with just a single pair of terms to represent nodes e.g. the fact we are connected by this forum post might look like this:
{
"node_ids":["@Mark_Harwood", "@jdpark"]
}
You could throw any number of connections together this way e.g.
{
"node_ids":["@Mark_Harwood", "#elasticsearch"]
}
Obviously being regular elasticsearch docs you could add other fields here e.g. dates to query and filter the relationships you choose to render as a graph.
