Library for converting code to knowledge graphs