Skip to content
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

[Question] How are the png files for the DAGs in the lessons generated? #152

Open
krishnakumarg1984 opened this issue Jun 27, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@krishnakumarg1984
Copy link

commented Jun 27, 2019

In the spirit of self-documentation, it would be great to visualise our makefiles as Directed Acyclic Graphs (DAGs). The lessons have up-to-date png images that visualize the dependencies coded within the makefile. How were these generated? Can this script be shared with students?

@gcapes

This comment has been minimized.

Copy link
Contributor

commented Jun 27, 2019

Hi,
They were created using makefile2graph. See http://swcarpentry.github.io/make-novice/guide/#makefile-dependency-images

I can see pros and cons to suggesting learners install it and use it on their makefiles. If you teach the lesson and use it, perhaps you let me know how it went?
Thanks

@krishnakumarg1984

This comment has been minimized.

Copy link
Author

commented Jul 7, 2019

@gcapes Thank you for your reply.

I tried using makefile2graph on the examples in this class. however it errors out with a message on something about <ROOT> container. Can you please try and see if this tool still works?

@gcapes

This comment has been minimized.

Copy link
Contributor

commented Jul 8, 2019

Hi @krishnakumarg1984

I just downloaded it having installed the prerequisites, and ran make diagrams in the root directory of this repo. Worked fine.

How are you trying to run the tool?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.