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

Unable to use a string as an argument to GraphObject.make

$
0
0

@Charles wrote:

So I have a diagram in my app, and I’m getting errors when I load into it in a a specific way. The error message is “Uncaught Error: Unable to use a string as an argument to GraphObject.make: workflow_diagram_canvas
at Object.k (gojs.js?eval:13)”

However, I know you can use a string as an argument to make. I suspect it’s something to do with a div being off or something, but I’ve had trouble debugging into gojs to see what exactly it’s unhappy about.

I have checked, and as far as I can tell, the div is there, and the string I’m giving it to find that div by id (“workflow_diagram_canvas”) is returning a valid div via jQuery.

Is there something more you can tell me about this error?

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles