Skip to content

Commit

Permalink
feat: added dot graph example
Browse files Browse the repository at this point in the history
  • Loading branch information
Dpbm committed Sep 1, 2024
1 parent a20e5da commit bf71233
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terceiro-ano/dot/compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

INPUT=$1
OUTPUT=$2

dot -Tpng $INPUT -o $OUTPUT
13 changes: 13 additions & 0 deletions terceiro-ano/dot/example.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
graph{
beautify=true
layout="sfdp"

A [color=green]
B [color=red]
C [color=blue]
D [color=purple]

A -- C
B -- D
C -- B
}
Binary file added terceiro-ano/dot/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bf71233

Please sign in to comment.