[Issue #224] split source-target node pairs into source nodes and target nodes