graph translator for truth file