     linkDataArray.push(obj);
    }
    model.linkDataArray = linkDataArray;
  }
  window.addEventListener('DOMContentLoaded', () => {
    const roboto = new FontFace("Roboto", "url(https://fonts.cdnfonts.com/s/12165/Roboto-Regular.woff)");
    document.fonts.add(roboto);
    // wait for the Roboto font to load before actually loading the diagram
    roboto.load().then(() => init());
  });
</script>

<div id="sample">
  <div id="myDiagramDiv" style="background-color: white; border: solid 1px black; width: 1