add a script to extract graph node pairs.