>>> from graf_exp import * >>> lc = [ ... ['a*(b+c)-c/b', 'a*(b+c)', 'a'], ... ['a*(b+c)-c/b', 'c/b', 'b'], ... ['a*(b+c)', 'b+c'], ... ['b+c', 'b'], ... ['b+c', 'c'], ... ['c/b', 'c']] >>> g = crea_digraf_camins(lc) >>> vars_usades(g) ['a', 'b', 'c']