ukázka/kočka-a-pes-oop.dot
author František Kučera <franta-hg@frantovo.cz>
Tue, 09 Jun 2020 22:17:50 +0200
branchv_0
changeset 140 7927050ea73b
parent 120 4d33f14e99dd
permissions -rw-r--r--
Remapping the buttons: new feature of v0.5

digraph G {	
	bgcolor="transparent";
	
	
	// Třídy:
	node	[shape = "record"];
	Pes		[label = "{Pes|+ kouše : boolean\l|+ štěkej() : void\l}"];
	Kočka	[label = "{Kočka|+ spí : boolean\l|+ mňoukej() : void\l}"];
	Zvíře	[label = "{Zvíře|+ jméno : string\l+ věk : int\l|+ běhej() : void\l}"];
	
	
	// Dědičnost:
	edge	[arrowhead = "empty"];
	
	Pes		->	Zvíře;
	Kočka	->	Zvíře;
}