Return dot representation of this node

See Tree::show_dot.

Property definitions

trees $ TreeNode :: to_dot
	# Return dot representation of this node
	#
	# See `Tree::show_dot`.
	fun to_dot: String do
		var res = new FlatBuffer
		res.append "\"{self}\";\n"
		if parent != null then res.append "\"{parent.as(not null)}\" -> \"{self}\"[dir=back];\n"
		return res.to_s
	end
lib/trees/abstract_tree.nit:77,2--85,4