Internal function to create dot syntax line for either a node or an edge
@ignore
protected function serialiseRow($node1, $node2 = null, $attributes = array()) {
$result = ' ' . $this
->escape($node1);
if ($node2) {
$result .= ' -> ' . $this
->escape($node2);
}
if (count($attributes)) {
$result .= ' ' . $this
->escapeAttributes($attributes);
}
return $result . ";\n";
}