xcporter / MetaView

A tool to parse Kotlin code into UML diagrams
GNU General Public License v3.0
24 stars 1 forks source link

Package separation #3

Open brakzog opened 2 years ago

brakzog commented 2 years ago

Hello,

First of all, thanks for this awesome plugin. After using it, I noticed that I have every classes in my class diagram but it could be great if we could have the opportunity to also have a package separation.

Could it be possible to add it ?

xcporter commented 2 years ago

Hey, glad you're getting some use out of it!

At some point I do intend to add a feature to properly work with Kotlin package directives. I'm afraid I can't give a definite timeline, however.

In the meantime, you might be able to get the functionality you need from the target property if your classes are separated by folder.

classTree {
    target = file(projectDir.path + "/src/main/kotlin/<your subfolder>")
}