From f022e54d268f1d24fb2ed121ad81173d49e5af16 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 25 Jun 2014 17:37:26 -0300 Subject: [PATCH] lets try with a canvas now --- jointjs/testcanvas.html | 22 ++++++++++++++++++++++ jointjs/testjoint.html | 5 ++--- 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 jointjs/testcanvas.html diff --git a/jointjs/testcanvas.html b/jointjs/testcanvas.html new file mode 100644 index 0000000..ac87039 --- /dev/null +++ b/jointjs/testcanvas.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/jointjs/testjoint.html b/jointjs/testjoint.html index dd88d56..d4b0fb6 100644 --- a/jointjs/testjoint.html +++ b/jointjs/testjoint.html @@ -4,7 +4,7 @@ @@ -44,9 +44,8 @@ graph.addCell(develop); var link = new joint.shapes.fsa.Arrow({ source: { id: master.id }, target: { id: develop }, - attrs: { rect: { fill: 'white' } } + attrs: { rect: { stroke: 'white' } } }); -link._opt.attrs.stroke = 'white'; graph.addCell(link);