GraphAlchemist / Alchemy

Other
517 stars 234 forks source link

Issue with getEdges and setStyles #567

Open aelkebbaj opened 9 years ago

aelkebbaj commented 9 years ago

Hello, I have a problem to use the 2 functions: getEdges and setStyles. I used the following code:

    alchemy1 = new Alchemy(config);
    var edge = alchemy1.getEdges(0, 2);
    edge.setStyles({"color": "red"});

But the 2 functions mentionned above didn't work. I didn't get the edge which has the source 0 and the target 2 colored in red color. Could you please help me. Regards.