Function insertSelectedLNodeType

  • Creates a new data type LNodeType based on a user selection.

    Parameters

    • doc: XMLDocument

      the XML document to add the LNodeType to

    • selection: TreeSelection

      The user selection as a tree object

    • logicalnode: {
          class: string;
          data?: LNodeDescription;
      }

      the logical node class and its JSON data structure of the LNodeType

    Returns Insert[]

    an array of inserts for the LNodeType and the missing subs data

Generated using TypeDoc