Closed recursion-ninja closed 7 years ago
I have corrected this defect in the ReferenceDAG
module in the unfoldDAG
and expandVertexMapping
functions. unfoldDAG
now requires a Monoid
constraint for the node datum. Added an unsafe fromList
function to circumvent the Monoid
constraint when necissary.
The eNewick input labels mess things up and cause the eNewick label to potentially be duplicated in the graph when the BUILD command is used.
We just need to not take the parent decoration, and instead use
Nothing
ormempty
depending on how flexible the type signature currently is.