File:Red black tree graphviz example.svg

Summary

Description
English: Graphviz version of Red-black tree example.svg (Inkscape, 66968 bytes).
Date
Source Own work
Author IkamusumeFan
SVG development
InfoField
 
The SVG code is valid.
 
This chart was created with Graphviz.
Category:Valid SVG created with Graphviz code#Red%20black%20tree%20graphviz%20example.svg
 
Category:Translation possible - SVGThis file uses embedded text that can be easily translated using a text editor.
Source code
InfoField

DOT Source code

// Red Black Tree Example

digraph G {
	graph [ratio=.48];
	node [style=filled, color=black, shape=circle, width=.6 
		fontname=Helvetica, fontweight=bold, fontcolor=white, 
		fontsize=24, fixedsize=true];
	{rank = same; n1; 6; n4; n5; n6; n7; 22; 27};
	
	6, 8, 17, 22, 27
	[fillcolor=red];
	
	n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11
	[label="NIL", shape=record, width=.4,height=.25, fontsize=16];
	
	13 -> 8, 17;
	8 -> 1 [weight=6]; 
	8 -> 11 [weight=5];
	17 -> 15 [weight=4]; 
	17 -> 25 [weight=5];
	1 -> n1 [weight=7]; 
	1 -> 6;
	11 -> n4 [weight=10]; 
	11 -> n5 [weight=14];
	6 -> n2, n3;
	15 -> n6 [weight=14]; 
	15 -> n7 [weight=10];
	25 -> 22; 
	25 -> 27 [weight=6];
	22 -> n8 [weight=5]; 
	22 -> n9 [weight=3];
	27 -> n10 [weight=3];
	27 -> n11 [weight=5];
}

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-4.0#Red%20black%20tree%20graphviz%20example.svg
Category:Self-published work Category:Red-black trees Category:Images with Graphviz source code
Category:CC-BY-SA-4.0 Category:Images with Graphviz source code Category:Red-black trees Category:Self-published work Category:Translation possible - SVG Category:Valid SVG created with Graphviz code