API Reference > ecschema-metadata > SchemaGraph > SchemaGraph SchemaGraph Class Beta Utility class for detecting cyclic references in a Schema graph. Methods Name Description constructor(schema: Schema): SchemaGraph Initializes a new SchemaGraph instance. detectCycles(): undefined | ReferenceCycle[] Detected cyclic references in a schema. Defined in core/ecschema-metadata/src/utils/SchemaGraph.ts Line 18 Last Updated: 29 November, 2022