Extract a UML diagram from source code.