Create element

Creates a new element in the library. The element type determines the required representation data.