Add spanning relation creation tool and functionality