graphs: fix some injection bugs, use `ExtractParser`
graphs: fix some injection bugs, use `ExtractParser`

refs #742 (.125)

NProfileAnalysisComputationalTool/npact,NProfileAnalysisComputationalTool/npact,victor-lin/npact,victor-lin/npact,NProfileAnalysisComputationalTool/npact,victor-lin/npact,victor-lin/npact,NProfileAnalysisComputationalTool/npact,NProfileAnalysisComputationalTool/npact,victor-lin/npact