Simple rendering of class diagrams

This commit is contained in:
knsv
2015-10-30 10:47:25 +01:00
parent 01ddfea478
commit 7a58e8261f
6 changed files with 2439 additions and 1074 deletions

View File

@@ -42,6 +42,11 @@ var detectType = function(text){
return 'gantt';
}
if(text.match(/^\s*classDiagram/)) {
log.debug('Detected classDiagram syntax');
return 'classDiagram';
}
return 'graph';
};
export {detectType};