Closed as not planned
Closed as not planned
Description
Proposal Details
Problem
Description
When using modgraphiz
on large codebases, it generates edges colored black which makes it very hard to differentiate between edges when they blend in one big edge like the following.
Proposed solution
We can add a color property to the edge struct; we then populate this property with the same color for all nodes that depend on the current node.
Example
Dot Code
digraph gomodgraph {
node [ shape=rectangle fontsize=12 ]
A -> B [color="red"]
A -> C [color="red"]
A -> D [color="red"]
B -> E [color="blue"]
B -> F [color="blue"]
}
Output
Is this an acceptable solution to start working on and open a PR with?