replace '#' by '+' in graph definition