expand node and relation