Commit 95554cce authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

graph: invert direction

parent 9f6f447e
Pipeline #931 passed with stages
in 47 seconds
......@@ -111,7 +111,7 @@ def docker(request):
def graph_svg(request):
with open('/tmp/graph', 'w') as f:
print('digraph { rankdir=RL;', file=f)
print('digraph { rankdir=LR;', file=f)
for project in models.Project.objects.filter(from_gepetto=True):
print(f'{{I{} [label="{project}"];}}', file=f)
for dep in models.Dependency.objects.filter(project__from_gepetto=True, library__from_gepetto=True):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment