cybertraining-dsc / reu2022

Apache License 2.0
2 stars 3 forks source link

H.112 tutorial for graphviz (check if in the old book) #51

Closed j-miskill closed 2 years ago

laszewsk commented 2 years ago

always put urls in when you close such issues ;-)

abeck14 commented 2 years ago

https://github.com/cybertraining-dsc/reu2022/blob/main/project/graphs/graphs-graphviz/graphviz.md

laszewsk commented 2 years ago

figure is not fixed, labels not added

abeck14 commented 2 years ago

Fixed labels and figures https://github.com/cybertraining-dsc/reu2022/blob/main/project/graphs/graphs-graphviz/graphviz.md

laszewsk commented 2 years ago

Fig 2 is wrong

abeck14 commented 2 years ago

Fixed Figure 2 https://github.com/cybertraining-dsc/reu2022/blob/main/project/graphs/graphs-graphviz/graphviz.md

laszewsk commented 2 years ago

sorry one more thing. please remove reu2022 in fig 3 and replace with workflow or graph, or job or something like that

abeck14 commented 2 years ago

Replace reu2022 w/ cloudmesh-alex https://github.com/cybertraining-dsc/reu2022/blob/main/project/graphs/graphs-graphviz/graphviz.md

laszewsk commented 2 years ago

I still see the image having reu2022 in it

laszewsk commented 2 years ago

see import graphviz

s = graphviz.Digraph('files in directories', filename='structure-graphviz.gv') s.node_attr={'shape' : 'record'}

s.node('s1', ' cloudmesh-cc | reu2022') s.node('s2', '{ cloudmesh | tests}') s.node('s3', ' contribute | { graphs |{ graphviz | networkx}}')

s.edges([('s1:d1', 's2:d2'), ('s1:d2', 's3:d4')])

s.view()

should be

import graphviz

s = graphviz.Digraph('files in directories', filename='structure-graphviz.gv') s.node_attr={'shape' : 'record'}

s.node('s1', ' cloudmesh-cc | workflow') s.node('s2', '{ cloudmesh | tests}') s.node('s3', ' contribute | { graphs |{ graphviz | networkx}}')

s.edges([('s1:d1', 's2:d2'), ('s1:d2', 's3:d4')])

s.view()

Then put in new image

abeck14 commented 2 years ago

Replaced reu2022 w/ workflow https://github.com/cybertraining-dsc/reu2022/blob/main/project/graphs/graphs-graphviz/graphviz.md