vstup/kočka-a-pes-oop.dot
changeset 65 0b00c324e644
parent 52 a221785fe3ac
     1.1 --- a/vstup/kočka-a-pes-oop.dot	Sat Jan 07 17:34:07 2012 +0100
     1.2 +++ b/vstup/kočka-a-pes-oop.dot	Sat Jan 07 17:34:33 2012 +0100
     1.3 @@ -3,16 +3,16 @@
     1.4  	
     1.5  	
     1.6  	// Třídy:
     1.7 -	node	[shape = "record"]
     1.8 +	node	[shape = "record"];
     1.9  	Pes		[label = "{Pes|+ kouše : boolean\l|+ štěkej() : void\l}"];
    1.10  	Kočka	[label = "{Kočka|+ spí : boolean\l|+ mňoukej() : void\l}"];
    1.11  	Zvíře	[label = "{Zvíře|+ jméno : string\l+ věk : int\l|+ běhej() : void\l}"];
    1.12  	
    1.13  	
    1.14  	// Dědičnost:
    1.15 -	edge	[arrowhead = "empty"]
    1.16 +	edge	[arrowhead = "empty"];
    1.17  	
    1.18 -	Pes		->	Zvíře
    1.19 -	Kočka	->	Zvíře
    1.20 +	Pes		->	Zvíře;
    1.21 +	Kočka	->	Zvíře;
    1.22  }
    1.23