WIP - scaffolding for rendering gitgraph.

This commit is contained in:
Raghu Rajagopalan
2016-03-29 15:16:08 +05:30
parent 4b91dbfed6
commit 2fee6e62aa
6 changed files with 37274 additions and 679 deletions

View File

@@ -403,10 +403,10 @@ var render = function(id, txt, cb, container){
config.flowchart.arrowMarkerAbsolute = config.arrowMarkerAbsolute;
gitGraphRenderer.setConf(config.gitGraph);
gitGraphRenderer.draw(txt, id, false);
if(config.cloneCssStyles){
classes = gitGraphRenderer.getClasses(txt, false);
utils.cloneCssStyles(element.firstChild, classes);
}
//if(config.cloneCssStyles){
//classes = gitGraphRenderer.getClasses(txt, false);
//utils.cloneCssStyles(element.firstChild, classes);
//}
break;
case 'graph':
config.flowchart.arrowMarkerAbsolute = config.arrowMarkerAbsolute;