Builds ERD nodes and links from an array of EntityInfo objects. This handles the transformation and automatic relationship discovery.
The primary entities to display
Options for relationship discovery
Object containing nodes and links arrays
// Single entity with all related entitiesconst result = buildERDDataFromEntities([myEntity], { allEntities: metadata.Entities, includeIncoming: true, includeOutgoing: true, depth: 1}); Copy
// Single entity with all related entitiesconst result = buildERDDataFromEntities([myEntity], { allEntities: metadata.Entities, includeIncoming: true, includeOutgoing: true, depth: 1});
Builds ERD nodes and links from an array of EntityInfo objects. This handles the transformation and automatic relationship discovery.