io.shiftleft.semanticcpg.dotgenerator.DotCallGraphGenerator.scala Maven / Gradle / Ivy
package io.shiftleft.semanticcpg.dotgenerator
import io.shiftleft.codepropertygraph.generated.Cpg
object DotCallGraphGenerator {
def dotCallGraph(cpg: Cpg): Iterator[String] = {
val callGraph = new CallGraphGenerator().generate(cpg)
Iterator(DotSerializer.dotGraph(None, callGraph))
}
}