issue #12 - improved converter API to generate inverted graphs