Skip to content

Instantly share code, notes, and snippets.

@kevin-chau
Last active May 5, 2017 17:34
Show Gist options
  • Save kevin-chau/418e352a06ed400c378220d7680ffd29 to your computer and use it in GitHub Desktop.
Save kevin-chau/418e352a06ed400c378220d7680ffd29 to your computer and use it in GitHub Desktop.
UML markdown

Alt text

custom_mark12 /** *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(); }

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

@kevin-chau
Copy link
Author

UML Diagrams

![Diagram 1](https://g.gravizo.com/svg?
digraph G {
fontname = "Bitstream Vera Sans"
fontsize = 8
node [
fontname = "Bitstream Vera Sans"
fontsize = 8
shape = "record"
]
edge [
fontname = "Bitstream Vera Sans"
fontsize = 8
]
Animal [
label = "{Animal|+ name : string\l+ age : int\l|+ die%28%29 : void\l}"
]
}
)

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