strathausen / dracula

JavaScript layout and representation of connected graphs.
https://www.graphdracula.net
MIT License
834 stars 132 forks source link

TypeError: this.r.connection is not a function #33

Closed Startouf closed 8 years ago

Startouf commented 9 years ago

I can't seem to draw any edge in my javascript.

TypeError: this.r.connection is not a function
edge.connection = this.r.connection(edge.source.shape, edge.target.shape, edge.s...
    dracula_graph.js?body=1 (ligne 306, col. 24)
TypeError: this.r.connection is not a function

On the WEB I see many people using r.connection without any problem... yet the function is not defined. I tried downloading the latest version of Raphael, but it didn't help

ruinpsilva commented 9 years ago

I have the exact same issue! Have anybody found a solution for it? Thanks

ruinpsilva commented 9 years ago

Got it! Load first raphael.js first than the others.

strathausen commented 8 years ago

I'll bundle it also.