Wird geprüft

Aras To UML

A console application that extracts a data model from Aras based on name prefixes and/or Aras PackageDefinitions and converts it to a .dot-file containing a pseudo-UML class diagram.
Can be used to better understand the data model implemented in Packages and/or visualise one's own as-implemented Aras data model.

Other contributors:



Project URL:


https://github.com/birdoxer/aras-to-uml
Parents
  • Hi Cogres,

    I followed the instructions outlined within the readme, and ran into an issue. I was able to build the solution after setting the reference correctly. I was able to run the generated executable through the command line. When i went to try and use GraphVis to try and open up my newly generated .dot file I ran into trouble. There was an  error thrown when trying to generate the graph. Here is a screenshot of the error. 

    I looked at the contents of the file and it looks like somehow some of the formatting was wrong. I attempted rerunning the executable to get a new .dot, with the same issue. I then thought it could either be something with the database I was using, or the fact that I was testing on SP4. I found a clean instance of SP1 I had lying around and tested against that, with the same results. below is what one of the incorrect sections looks like in the result file. It seems to happen in a few different places, and I'm unsure why. 

    Have you ever seen behavior like this? What version of Innovator did you develop and test this against? Please let me know if you have any suggestions as I'd love to publish this so we can get it in as many hands as possible.

    Thanks,

    AJ

Comment
  • Hi Cogres,

    I followed the instructions outlined within the readme, and ran into an issue. I was able to build the solution after setting the reference correctly. I was able to run the generated executable through the command line. When i went to try and use GraphVis to try and open up my newly generated .dot file I ran into trouble. There was an  error thrown when trying to generate the graph. Here is a screenshot of the error. 

    I looked at the contents of the file and it looks like somehow some of the formatting was wrong. I attempted rerunning the executable to get a new .dot, with the same issue. I then thought it could either be something with the database I was using, or the fact that I was testing on SP4. I found a clean instance of SP1 I had lying around and tested against that, with the same results. below is what one of the incorrect sections looks like in the result file. It seems to happen in a few different places, and I'm unsure why. 

    Have you ever seen behavior like this? What version of Innovator did you develop and test this against? Please let me know if you have any suggestions as I'd love to publish this so we can get it in as many hands as possible.

    Thanks,

    AJ

Children
  • Hi AJ,

    awesome that you are interested in the project! I believe this might happen if one of the ItemTypes in your package or with the given prefix has no label or something like that? It seems like an ItemType (or dot class after extraction) name is missing before the "-> User" part.
    Could you try to use the executable on the standard Aras PLM package? I tried that just now with the currently pushed sources and it worked fine. If that works on your end, too, we at least know that it's probably due to a problematic ItemType.
    I have some more time to look into this and upload some screenshots and stuff tomorrow.

    Cheers,

    C

  • In my initial test i didn't specify a package, i was just running it against the entire database. When I ran it against the PLM package it seemed to work.