Documentation Language: Swift

Method

createElement(_:)

Create a new element of the specified type.

func createElement(_ type: EClass) async throws -> any EObject

Parameters

type

EClass of element to create

Return Value

Created element

Discussion