A little graph tool