Skip to content

Instantly share code, notes, and snippets.

@robbie-cao
Last active December 13, 2016 04:22
Show Gist options
  • Save robbie-cao/cf99b43098a68279d78eda0f75dcd5d7 to your computer and use it in GitHub Desktop.
Save robbie-cao/cf99b43098a68279d78eda0f75dcd5d7 to your computer and use it in GitHub Desktop.
Test Gravizo

<img src='http://g.gravizo.com/g? /** *Structural Things *@opt commentname *@note Notes can *be extended to *span multiple lines */ class Structural{}

/** *@opt all *@note Class */ class Counter extends Structural { static public int counter; public int getCounter%28%29; }

/** *@opt shape activeclass *@opt all *@note Active Class */ class RunningCounter extends Counter{} '>

![Alt text](http://g.gravizo.com/g? digraph G { aize ="4,4"; main [shape=box]; main -> parse [weight=8]; parse -> execute; main -> init [style=dotted]; main -> cleanup; execute -> { make_string; printf}; init -> make_string; edge [color=red]; main -> printf [style=bold,label="100 times"]; make_string [label="make a string"]; node [shape=box,style=filled,color=".7 .3 1.0"]; execute -> compare; } )

![Alt text](http://g.gravizo.com/g? /** *Structural Things *@opt commentname *@note Notes can *be extended to span multiple lines / class Structural{} / *@opt all @note Class / class Counter extends Structural { static public int counter; public int getCounter%28%29; } / *@opt shape activeclass *@opt all *@note Active Class */ class RunningCounter extends Counter{} )

@robbie-cao
Copy link
Author

@robbie-cao
Copy link
Author

![Alt text](http://g.gravizo.com/g?
digraph G {
aize ="4,4";
main [shape=box];
main -> parse [weight=8];
parse -> execute;
main -> init [style=dotted];
main -> cleanup;
execute -> { make_string; printf}
init -> make_string;
edge [color=red];
main -> printf [style=bold,label="100 times"];
make_string [label="make a string"];
node [shape=box,style=filled,color=".7 .3 1.0"];
execute -> compare;
}
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment