end>;');
+ var res = flow.parser.parse('graph TD;a{A
end};');
var vert = flow.parser.yy.getVertices();
var edges = flow.parser.yy.getEdges();
@@ -248,7 +258,7 @@ describe('when parsing ',function(){
expect(vert['a'].type).toBe('diamond');
expect(vert['a'].text).toBe('A
end');
});
- it('should handle a single diamond node with html in it',function(){
+ it('should handle a single round node with html in it',function(){
// Silly but syntactically correct
var res = flow.parser.parse('graph TD;a(A
end);');
@@ -480,3 +490,5 @@ describe('when parsing ',function(){
expect(vertices['b'].classes[0]).toBe('exClass');
});
});
+
+
diff --git a/src/sequenceDb.js b/src/sequenceDb.js
index ae6c83b9c..889daf717 100644
--- a/src/sequenceDb.js
+++ b/src/sequenceDb.js
@@ -5,7 +5,7 @@ var actors = {};
var actorKeys = [];
var messages = [];
exports.addActor = function(id,name,description){
- console.log('Adding actor: '+id);
+ //console.log('Adding actor: '+id);
actors[id] = {name:name, description:description};
actorKeys.push(id);
};
diff --git a/test/web.html b/test/web.html
index 6f92dcdb0..f6f8d017b 100644
--- a/test/web.html
+++ b/test/web.html
@@ -45,12 +45,12 @@
Shapes
graph TD;
- sq[Square shape]-->ci(Circle shape);
+ sq[Square shape]-->ci((Circle shape));
od>Odd shape]---|Two line
edge comment|ro;
od2>Really long text in an Odd shape]-->od3>Really long text with linebreak
in an Odd shape];
- di[Diamond is broken]-->ro{Rounded
square
shape};
- di[Diamond is broken]-->ro2{Rounded square shape};
- e(Inner circle);
+ di{Diamond is
broken}-->ro(Rounded
square
shape);
+ di-->ro2(Rounded square shape);
+ e((Inner circle));
style e red;