* Draft implementation of info diagram

* Fix for issue #109
This commit is contained in:
knsv
2015-01-20 19:48:33 +01:00
parent 48500652b3
commit 44a2e0472a
12 changed files with 2244 additions and 44 deletions

View File

@@ -18,10 +18,15 @@ module.exports.detectType = function(text,a){
}
if(text.match(/^\s*digraph/)) {
console.log('Detected flow syntax');
console.log('Detected dot syntax');
return "dotGraph";
}
if(text.match(/^\s*info/)) {
//console.log('Detected info syntax');
return "info";
}
return "graph";
};