<commit_before>JS Graph Annotator
==================

A Javascript widget to draw a graph on an image.

 * Draw a graph on an image with mouse.
 * Click to add a node.
 * Mouse drag to move a node.
 * Vanilla Javascript implementation.
 * HTML5 canvas is required to use.

There is an online demo at http://vision.cs.stonybrook.edu/~kyamagu/js-graph-annotator/ .

Here is a quick usage example.

    new GraphAnnotator('/path/to/image.jpg', {
      graph: {
        nodes: [
          {name: 'head'},
          {name: 'neck'},
          {name: 'right shoulder'},
          {name: 'right elbow'},
          {name: 'right hand'},
          {name: 'left shoulder'},
          {name: 'left elbow'},
          {name: 'left hand'},
          {name: 'right hip'},
          {name: 'left hip'},
          {name: 'right knee'},
          {name: 'left knee'},
          {name: 'right ankle'},
          {name: 'left ankle'}
        ],
        edges: [
          {index: [0,1]},
          {index: [5,9]},
          {index: [9,11]},
          {index: [11,13]},
          {index: [8,9]},
          {index: [2,8]},<commit_msg>Updated demo link<commit_after>JS Graph Annotator
==================

A Javascript widget to draw a graph on an image.

 * Draw a graph on an image with mouse.
 * Click to add a node.
 * Mouse drag to move a node.
 * Vanilla Javascript implementation.
 * HTML5 canvas is required to use.

There is an [online demo](http://kyamagu.github.io/js-graph-annotator/).

Here is a quick usage example.

    new GraphAnnotator('/path/to/image.jpg', {
      graph: {
        nodes: [
          {name: 'head'},
          {name: 'neck'},
          {name: 'right shoulder'},
          {name: 'right elbow'},
          {name: 'right hand'},
          {name: 'left shoulder'},
          {name: 'left elbow'},
          {name: 'left hand'},
          {name: 'right hip'},
          {name: 'left hip'},
          {name: 'right knee'},
          {name: 'left knee'},
          {name: 'right ankle'},
          {name: 'left ankle'}
        ],
        edges: [
          {index: [0,1]},
          {index: [5,9]},
          {index: [9,11]},
          {index: [11,13]},
          {index: [8,9]},
          {index: [2,8]},
{'fraction_non_alphanumeric': 0.17051108095884215, 'fraction_numerical': 0.014473089099954772, 'mean_word_length': 1.8578811369509043, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5148804', 'n_tokens_mistral': 704, 'n_tokens_neox': 675, 'n_words': 221}