We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b790779 + c3e3c00 commit e662468Copy full SHA for e662468
src/server/Server/Pages/Search.hs
@@ -40,7 +40,7 @@ page graph src dst maxCount = do
40
nubOrd $
41
map FunGraph.functionPackageNoVersion result
42
h2_ "Result graph"
43
- svg_ $ toHtml resultGraph
+ toHtmlRaw resultGraph -- 'toHtmlRaw' because 'resultGraph' contains tags we don't want escaped
44
where
45
srcDst =
46
(FunGraph.textToFullyQualifiedType src, FunGraph.textToFullyQualifiedType dst)
@@ -51,7 +51,7 @@ page graph src dst maxCount = do
51
52
renderResultGraphIO =
53
ST.stToIO resultDotGraph
54
- >>= Util.graphVizRender Util.Circo Util.Svg
+ >>= Util.graphVizRender Util.Dot Util.Svg
55
56
resultDotGraph =
57
Util.graphFromQueryResult query
0 commit comments