Image and links are not getting dispalyed ..please help to spot error

 <div id="sample">
<span style="display: inline-block; vertical-align: top; width:60%">
  <div id="myDiagramDiv" style="border: solid 1px black; height: 520px"></div>
</span>
 <!-- <div id="myDiagramDiv"
 style="width:500px; height:500px; background-color: #DAE4E4;"></div> -->
</body>
</html>

What’s the width of the DIV for the diagram?

500 px and height is 520 px … i want to connect two images using link when user click from one image to another… fromlinkable is not working,portId also not working…if anyone can help…would be grateful

thanks!

We really need more information to have any chance at answering your question.

How is your app different from other samples where the user can draw new links?

like examples given on websites generally has shapes from one shape port to another but i want to connect to pictures

as u can see the output has small images and i want to connect them but dynamically…means as the way user want to link them

How have you defined your node template? I assume you have already read GoJS Nodes -- Northwoods Software and GoJS Ports in Nodes-- Northwoods Software.