Open
Description
Main Issue
I think that the DotTopologySerializer
exports the links twice. Although not harmful, it is not correct.
Also, in this method, we use the directed links to perform the export. Since we don't use digraph-parser
anymore, I suppose DOT would allow us to use the Topology
's orientation (Topology.getLinks()
).
Side note
For a specific project, I recently needed to modify the serializer outputs a Link
. Since the exportToString
method is very monolithic, I had to copy paste the whole class and modify it. Maybe segmenting it a bit into protected methods (at least something like exportLinkToString(Link)
) could help?