A shape depends on the shapes it extends and on the shapes its properties link to or embed, directly or through
other shapes. Dependencies include the targets of foreign properties
and the resource alternatives of unions, so the listing covers the whole connected model.
Each shape is listed once, even where shapes link to each other in a cycle. The entry shapes come first, in the
order given, followed by their dependencies, nearest first. Shapes at the same distance follow the order of the
shapes reaching them, each contributing its parents before its property targets, in declaration order.
Collects entry shapes and their dependencies.
A shape depends on the shapes it extends and on the shapes its properties link to or embed, directly or through other shapes. Dependencies include the targets of foreign properties and the resource alternatives of unions, so the listing covers the whole connected model.
Each shape is listed once, even where shapes link to each other in a cycle. The entry shapes come first, in the order given, followed by their dependencies, nearest first. Shapes at the same distance follow the order of the shapes reaching them, each contributing its parents before its property targets, in declaration order.