A simple graph analyzer