New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency Graph Output Enhancment #1545
Comments
External resources: |
Thanks for the detailed overview @nathanhaigh! To whomever wants to look into this: you'll need to play around with the The Whether @nathanhaigh's suggestions can be implemented easily depends on whether python-graph-dot supports these type of tinkering with edges and labels... |
According to http://pydoc.net/Python/python-graph-core/1.8.0/pygraph.classes.digraph/ edge attributes can be added like so: add_edge(edge, wt = 1, label="", attrs = []): Where
So @boegel, I guess I just need to know what's available via |
@nathanhaigh: it looks like you should be able to check with |
fixed in #1548, thanks a lot @nathanhaigh for tackling this! |
Depenedency graph files can be generated for an easyconfig file using something like:
The resulting
.dot
file contains a directed graph (digraph
) definingnodes
anddirected edges
betweennodes
.Lines defining a
node
look like this:Lines defining
directed edges
look like this:This output could be enhanced by:
build
dependencies andnormal
dependencies.This could be done using
edge attributes
. For example, the use oflabel
could be used to add text (e.g.build dep
) to an edge. Thus a line in the.dot
file defining a build dependency could look like:Alternatives, to keep visual clutter to a minimum, it might be best to change the
style
orcolour
of the edge; or even the style of thearrowhead
. The following example, illustrates the use of all these:The text was updated successfully, but these errors were encountered: