Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand class tree to show superclasses and subclasses #449

Open
KSchopmeyer opened this issue Oct 30, 2019 · 2 comments
Open

Expand class tree to show superclasses and subclasses #449

KSchopmeyer opened this issue Oct 30, 2019 · 2 comments

Comments

@KSchopmeyer
Copy link
Contributor

KSchopmeyer commented Oct 30, 2019

Today we do a ascii class tree either as the subclasses or the superclasses. I have been asked several times to be able to display both the subclasses and superclasses as a single diagram.

The idea would be to merge the subclass tree and the superclass tree and designate the class that represented the intersection.

If there was a named class in the request, from the defined target class the subclasses would be just as they are now. From the target class up, it would be a single tree path to the root

The real questions are:

  1. Should this be a new option or simply the default.
  2. If we do this are the current options useful
    default - Subclasses from the target class
    -s - superclasses from the target class

The result of a full tree with TargetClass CIM_MemberOfCollection would look like:

class tree CIM_Collection                                            
CIM_Collection
root
 +-- CIM_ManagedElement
     +-- CIM_Collection*
         +-- CIM_SystemSpecificCollection
         |   +-- CIM_MaskingGroup
         |    |   +-- CIM_InitiatorMaskingGroup
         |    |   +-- CIM_TargetMaskingGroup
         |    |   +-- CIM_DeviceMaskingGroup
         |    +-- CIM_ConnectivityCollection
         |    |   +-- CIM_RemoteReplicationCollection
         |    +-- CIM_StorageTier
         |    +-- CIM_RedundancySet
         |    |   +-- CIM_StorageRedundancySet
         |    +-- CIM_OperationalPowerManifestCollection
         |    +-- CIM_StatisticsCollection
         |    +-- CIM_TargetPortGroup
         |    +-- CIM_ReplicationGroup
         |    +-- CIM_BlockStatisticsManifestCollection
         |    +-- CIM_LogicalPortGroup
         |    +-- CIM_StorageResourceLoadGroup
         |    +-- CIM_FailoverStorageExtentsCollection
         |    +-- CIM_AllocatedResources
         |    +-- CIM_RemoteResources
         |    +-- CIM_DeviceSet
         +-- CIM_FilterCollection
             +-- CIM_CollectionOfMSEs

@KSchopmeyer KSchopmeyer self-assigned this Oct 30, 2019
@andy-maier andy-maier changed the title Expanding the class tree visualization Expand class tree to show superclasses and subclasses Apr 10, 2020
@KSchopmeyer
Copy link
Contributor Author

The open questions for this one are:

  1. Worthwhile doing??? I think so since it is low development cost.
  2. Changes to options to allow selecting subclasses, superclasses, all
  3. If we show all should we somehow mark the class that was the target at least when showing all.

@KSchopmeyer
Copy link
Contributor Author

I would like to move this to version 1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant