Add new pattern -> graph converter with unit tests.