Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-igraph
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-igraph
Commits
973dba50
Commit
973dba50
authored
Nov 26, 2015
by
Kai Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a bug
parent
287c8e77
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
haskell-igraph.cabal
haskell-igraph.cabal
+1
-0
GEXF.hs
src/IGraph/Exporter/GEXF.hs
+1
-1
No files found.
haskell-igraph.cabal
View file @
973dba50
...
@@ -67,6 +67,7 @@ test-suite tests
...
@@ -67,6 +67,7 @@ test-suite tests
main-is: test.hs
main-is: test.hs
other-modules:
other-modules:
Test.Basic
Test.Basic
Test.Structure
Test.Utils
Test.Utils
default-language: Haskell2010
default-language: Haskell2010
...
...
src/IGraph/Exporter/GEXF.hs
View file @
973dba50
...
@@ -104,7 +104,7 @@ genXMLTree gr = root [] [gexf]
...
@@ -104,7 +104,7 @@ genXMLTree gr = root [] [gexf]
a
=
show
$
alphaChannel
$
_edgeColour
at
a
=
show
$
alphaChannel
$
_edgeColour
at
{-# INLINE genXMLTree #-}
{-# INLINE genXMLTree #-}
writeGEXF
::
FilePath
->
LGraph
U
NodeAttr
EdgeAttr
->
IO
()
writeGEXF
::
Graph
d
=>
FilePath
->
LGraph
d
NodeAttr
EdgeAttr
->
IO
()
writeGEXF
fl
gr
=
runX
(
genXMLTree
gr
>>>
writeDocument
config
fl
)
>>
return
()
writeGEXF
fl
gr
=
runX
(
genXMLTree
gr
>>>
writeDocument
config
fl
)
>>
return
()
where
where
config
=
[
withIndent
yes
]
config
=
[
withIndent
yes
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment