@maxgraph/core
    Preparing search index...

    Function addLinkToHead

    • Adds a link node to the head of the document.

      The charset is hardcoded to UTF-8 and the type is text/css.

      Parameters

      • rel: string

        String that represents the rel attribute of the link node.

      • href: string

        String that represents the href attribute of the link node.

      • doc: null | Document = null

        Optional parent document of the link node.

      • id: null | string = null

        unique id for the link element to check if it already exists

      Returns void