output edges/nodes