Closed sujaypatil96 closed 1 year ago
The use case is that we wanted to see, for example, Biosample class in the NMDC Schema has the following siblings: DataObject
, GeneProduct
, Instrument
, OntologyClass
, Person
, Study
. And show the relationships between Biosample
and each of the above listed classes as links in the mermaid diagram.
Hm, I hadn't considered the handling of root mixins.
And show the relationships between Biosample and each of the above listed classes as https://github.com/linkml/linkml-runtime/pull/199#issuecomment-1234907887 in the mermaid diagram.
We definitely want this - but this has nothing to do with siblings
Method to compute all the siblings of a given input class.