Connects 2 nodes together in the Graph.
string $sourceId:
string $sourceValue:
string $destId:
string $destValue:
string $reference:
public function connect($sourceId, $sourceValue, $destId, $destValue = null, $reference = null) {
$sourceNode = $this
->createNode($sourceId, $sourceValue);
$destNode = $this
->createNode($destId, $destValue);
$edge = new ServiceReferenceGraphEdge($sourceNode, $destNode, $reference);
$sourceNode
->addOutEdge($edge);
$destNode
->addInEdge($edge);
}