tgdwyer / WebCola

Javascript constraint-based graph layout
http://marvl.infotech.monash.edu/webcola/
MIT License
2.01k stars 257 forks source link

Power graph example not working #216

Open pvtodorov opened 7 years ago

pvtodorov commented 7 years ago

When loading the power graph example no networks render. I get the following console output

Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead[Learn More]  jquery-1.10.2.min.js:1
Error: unknown type: dblclick  powergraphexample.js:6521:46
    parseTypenames/< http://marvl.infotech.monash.edu/webcola/examples/powergraphexample.js:6521:46
    map self-hosted
    parseTypenames http://marvl.infotech.monash.edu/webcola/examples/powergraphexample.js:6518:10
    [24]</</dispatch.prototype.on http://marvl.infotech.monash.edu/webcola/examples/powergraphexample.js:6530:13
    [35]</</zoom/zoom.on http://marvl.infotech.monash.edu/webcola/examples/powergraphexample.js:12180:17
    makeSVG http://marvl.infotech.monash.edu/webcola/examples/powergraphexample.js:49:18
    flatGraph http://marvl.infotech.monash.edu/webcola/examples/powergraphexample.js:81:15
    [1]< http://marvl.infotech.monash.edu/webcola/examples/powergraphexample.js:250:1
    s http://marvl.infotech.monash.edu/webcola/examples/powergraphexample.js:1:246
    e http://marvl.infotech.monash.edu/webcola/examples/powergraphexample.js:1:425
    <anonymous> http://marvl.infotech.monash.edu/webcola/examples/powergraphexample.js:1:11

I run into this issue in Chrome (Version 56.0.2924.87 (64-bit)) and Firefox (51.0.1) running on Mac OSX Sierra 10.12.3 (16D32)

owendall commented 7 years ago

I got it to work by:

  1. Adding the missing JQuery file referenced in the html:

image

  1. Reverting back to an earlier version of "powergraphexample.js" i had from 1/3/2017.

uploading the zip of that one. powergraphexample.js.zip

Hope that helps...