Libvisio is library providing ability to interpret and import Visio diagrams into various applications. You can find it being used in LibreOffice.