Source: https://www.irit.fr/~Philippe.Muller/Publis/textgraphs06.pdf