<commit_before>var gitGraph = new GitGraph({
  template: new Template({
    branch: {
      color: '#000000',
      lineWidth: 4,
      margin: 50,
      mergeStyle: 'straight'
    },
    commit: {
      spacing: 60,
      dot: {
        size: 12,
        strokeColor: '#000000',
        strokeWidth: 7
      },
      message: {
        color: 'black'
      }
    },
    arrow: {
      height: 16,
      width: 13
    }
  })
});

var master = gitGraph.branch({
  name: 'master',
});
gitGraph.commit(); // Commit on HEAD Branch
gitGraph.commit();
gitGraph.commit();

var dev = gitGraph.branch({
  name: 'dev',
});
gitGraph.commit('Youhou \\o/');
gitGraph.commit();
gitGraph.commit();

//master.checkout();
var test = gitGraph.branch({
  name: 'test',
});
gitGraph.commit({
message: 'test'
});
gitGraph.commit();
dev.commit(); // Commit on 'dev' Branch
master.checkout();
gitGraph.author = 'Fabien0102 <<EMAIL>>'; // Change author
master.commit();
dev.merge();
test.commit();
//master.commit();
test.merge(null, false); // Merge into HEAD without merge commit

gitGraph.render();
<commit_msg>New example template<commit_after>var mytemplate = new Template({
  branch: {
    color: '#000000',
    lineWidth: 4,
    margin: 50,
    mergeStyle: 'straight'
  },
  commit: {
    spacing: 60,
    dot: {
      size: 12,
      strokeColor: '#000000',
      strokeWidth: 7
    },
    message: {
      color: 'black'
    }
  },
  arrow: {
    height: 16,
    width: 13
  }
});

var mytemplate2 = new Template({
  colors: ['#979797', '#008fb5', 'f1c109'],
  branch: {
    lineWidth: 10,
    margin: 50
  },
  commit: {
    spacing: 80,
    dot: {
      size: 14
    },
    message: {
      font: 'normal 14pt Arial',
    }
  },
});

var gitGraph = new GitGraph({
  template: mytemplate2
});

var master = gitGraph.branch({
  name: 'master',
});
gitGraph.commit(); // Commit on HEAD Branch
gitGraph.commit();
gitGraph.commit();

var dev = gitGraph.branch({
  name: 'dev',
});
gitGraph.commit('Youhou \\o/');
gitGraph.commit({
  dotColor: 'white',
  dotSize: 10,
  dotStrokeWidth: 10,
  message: "Alors c'est qui le papa ?",
  author: "Me <<EMAIL>>"
});
gitGraph.commit();

//master.checkout();
var test = gitGraph.branch({
  name: 'test',
});
gitGraph.commit({
  message: 'test'
});
gitGraph.commit();
dev.commit(); // Commit on 'dev' Branch
master.checkout();
gitGraph.author = 'Fabien0102 <<EMAIL>>'; // Change author
master.commit();
dev.merge();
test.commit();
//master.commit();
test.merge(null, false); // Merge into HEAD without merge commit

gitGraph.render();

{'fraction_non_alphanumeric': 0.17996870109546165, 'fraction_numerical': 0.033646322378716745, 'mean_word_length': 2.933846153846154, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7415114', 'n_tokens_mistral': 952, 'n_tokens_neox': 873, 'n_words': 222}