SynBioDex / sbol_factory

The SBOLFactory provides a mechanism for automatically generating an interactive, object-oriented API from a declarative data model specification encoded in OWL.
MIT License
6 stars 3 forks source link

User-configurable clusters #45

Closed jakebeal closed 3 years ago

jakebeal commented 3 years ago

When there are large numbers of classes (e.g., uml.ttl), it would be good to be able to cluster them into groups. For example, all the literals would be a good group together.

Can we have an argument to pass in a dictionary of "class name": "latex description" clusters, such that we get a subsection for each such cluster, headed with the latex description?

Each cluster should contain the named class and all of its child classes that are not in another cluster.

bbartley commented 3 years ago

Question. If each cluster is defined by the named class and all of its child classes, should we just infer the clusters automatically rather than a user-defined dictionary?

The example of the UML literals is not clear to me, since I'm not that familiar with the UML spec. Is this cluster of classes defined by some other common function besides child / subclass relationships? If this is the case, then perhaps we want the class grouping to be specified in dictionary format as "latex subsection": [class1, class2, class3, ...]

jakebeal commented 3 years ago

We can try inferring for everything not a TopLevel or Identified. If that turns out not good enough, we can build from there.

On Mon, Oct 4, 2021 at 1:25 PM bbartley @.***> wrote:

Question. If each cluster is defined by the named class and all of its child classes, should we just infer the clusters automatically rather than a user-defined dictionary?

The example of the UML literals is not clear to me, since I'm not that familiar with the UML spec. Is this cluster of classes defined by some other common function besides child / subclass relationships? If this is the case, then perhaps we want the class grouping to be specified in dictionary format as "latex subsection": [class1, class2, class3, ...]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SynBioDex/sbol_factory/issues/45#issuecomment-933741144, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRONO6NM5YJZZPAZG5LAW3UFHWRJANCNFSM5FEZVS6Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Thanks, -Jake (Sent from my phone)

jakebeal commented 3 years ago

Moot for now with #45. If we find that we need the additional customization, we can open an new issue with more specifics.