outer joins for graphs