add tool to dump truth record graph