Skip to content

Commit adf82fd

Browse files
committed
Add quotations.
1 parent 063399b commit adf82fd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/persistence.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,24 @@ function savedot(io::IO, meta_graph::MetaGraph)
7070

7171
for label in keys(meta_graph.vertex_properties)
7272
write(io, " ")
73+
write(io, '"')
7374
write(io, label)
75+
write(io, '"')
7476
show_meta_list(io, meta_graph[label])
7577
write(io, '\n')
7678
end
7779

7880
for (label_1, label_2) in keys(edge_data)
7981
write(io, " ")
82+
write(io, '"')
8083
write(io, label_1)
84+
write(io, '"')
8185
write(io, ' ')
8286
write(io, dash)
8387
write(io, ' ')
88+
write(io, '"')
8489
write(io, label_2)
90+
write(io, '"')
8591
show_meta_list(io, edge_data[arrange(meta_graph, label_1, label_2)])
8692
write(io, "\n")
8793
end

0 commit comments

Comments
 (0)