Show More
@@ -115,7 +115,7 b' def colored(dag):' | |||||
115 | edges.append((ecol, next.index(eid), colors[eid])) |
|
115 | edges.append((ecol, next.index(eid), colors[eid])) | |
116 | elif eid == cur: |
|
116 | elif eid == cur: | |
117 | for p in parents: |
|
117 | for p in parents: | |
118 |
edges.append((ecol, next.index(p), color |
|
118 | edges.append((ecol, next.index(p), color)) | |
119 |
|
119 | |||
120 | # Yield and move on |
|
120 | # Yield and move on | |
121 | yield (cur, type, data, (col, color), edges) |
|
121 | yield (cur, type, data, (col, color), edges) |
General Comments 0
You need to be logged in to leave comments.
Login now