Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for massageSVG (0.11 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/svg.go

    	graphID  = regexp.MustCompile(`<g id="graph\d"`)
    	svgClose = regexp.MustCompile(`</svg>`)
    )
    
    // massageSVG enhances the SVG output from DOT to provide better
    // panning inside a web browser. It uses the svgpan library, which is
    // embedded into the svgpan.JSSource variable.
    func massageSVG(svg string) string {
    	// Work around for dot bug which misses quoting some ampersands,
    	// resulting on unparsable SVG.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top