ukázka/kočka-a-pes-oop.dot
author František Kučera <franta-hg@frantovo.cz>
Thu, 22 Oct 2020 01:51:32 +0200
branchv_0
changeset 317 fce3d6290c40
parent 120 4d33f14e99dd
permissions -rw-r--r--
Release v0.16 – JACK MIDI output, ports + rename Guile to Scheme + improve CLI interfaces

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;
}