Skip to content

Commit e662468

Browse files
committed
Merge branch 'research-improve-algo' of github.com:runeksvendsen/haskell-function-graph into research-improve-algo
2 parents b790779 + c3e3c00 commit e662468

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/Server/Pages/Search.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ page graph src dst maxCount = do
4040
nubOrd $
4141
map FunGraph.functionPackageNoVersion result
4242
h2_ "Result graph"
43-
svg_ $ toHtml resultGraph
43+
toHtmlRaw resultGraph -- 'toHtmlRaw' because 'resultGraph' contains tags we don't want escaped
4444
where
4545
srcDst =
4646
(FunGraph.textToFullyQualifiedType src, FunGraph.textToFullyQualifiedType dst)
@@ -51,7 +51,7 @@ page graph src dst maxCount = do
5151

5252
renderResultGraphIO =
5353
ST.stToIO resultDotGraph
54-
>>= Util.graphVizRender Util.Circo Util.Svg
54+
>>= Util.graphVizRender Util.Dot Util.Svg
5555

5656
resultDotGraph =
5757
Util.graphFromQueryResult query

0 commit comments

Comments
 (0)