Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

How can I insert "img" to json format

$
0
0

@danny wrote:

Hi,

I have problem when I want to insert "img" tag into "Diagram Model saved in JSON format".
Use http://gojs.net/latest/samples/pageflow.html for example:
The original example look like this:

and I want to add "img" on the node, so the code like this:

but the "save" button can't show out the "img" resource document.getElementById("mySavedModel").value = myDiagram.model.toJson();
the result I want is something look like this:

Best regards,
Danny

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles