Skip to content

hasii2011/untanglepyut

Repository files navigation

CircleCI

CircleCI Maintenance PyPI version

This project is intended to be used by Pyut Plugin developers to convert Pyut XML files to the Ogl Model classes. These model classes can then be used by the Pyut UI to display as UML Diagrams.


Use as follows:

from untanglepyut.Types import Document
from untanglepyut.Types import DocumentTitle

from untanglepyut.Types import UntangledOglClasses
from untanglepyut.Types import UntangledOglLinks
from untanglepyut.Types import UntangledOglNotes
from untanglepyut.Types import UntangledOglTexts

from untanglepyut.UnTangler import UnTangler

fqFileName: str = 'MultiLinkDocument.xml'
untangler: UnTangler = UnTangler()

untangler.untangleFile(fqFileName=fqFileName)

document: Document = untangler.documents[DocumentTitle('Diagram-1')]

oglClasses: UntangledOglClasses = document.oglClasses
oglLinks: UntangledOglLinks = document.oglLinks
oglNotes: UntangledOglNotes = document.oglNotes
oglTexts: UntangledOglTexts = document.oglTexts

The following is the UML diagram for the Pyut Untangler

UntanglePyut


Developer Notes

This project uses buildlackey for day to day development builds

Note

For all kind of problems, requests, enhancements, bug reports, etc., please drop me an e-mail. Written by Humberto A. Sanchez II (C) 2023


I am concerned about GitHub's Copilot project

I urge you to read about the Give up GitHub campaign from the Software Freedom Conservancy.

While I do not advocate for all the issues listed there I do not like that a company like Microsoft may profit from open source projects.

I continue to use GitHub because it offers the services I need for free. But, I continue to monitor their terms of service.

Any use of this project's code by GitHub Copilot, past or present, is done without my permission. I do not consent to GitHub's use of this project's code in Copilot.