<commit_before>
## ng-curve

Curve edit control.

Directive that is created for AngularJS 1.

![asdf](https://i.imgur.com/77fgia2.png)

### Control Commands
* `click` : add point
*  `drag` : move point
*  `ctrl + click` or `drag-out` : remove point


# Installation

```bash
bower install ng-curve --save
```

Then include the CSS file and javascript file

```html
<link rel="stylesheet" href="bower_components/ng-curve/dist/ng-curve.css" />
<script src="bower_components/ng-curve/dist/ng-curve.min.js"></script>
```

# Usage

Include `ngCurve` in your app's dependencies:

```javascript
angular.module('app', ['ngCurve'])
```

And the directive to your page like this : 

```html
<curve-editor dot-data="input.dots"></curve-editor>
```

# Todo

* draw as curve
<commit_msg>Readme update<commit_after>
## ng-curve

Curve edit control.

Directive that is created for AngularJS 1.

![asdf](https://i.imgur.com/77fgia2.png)

### Control Commands
* `click` : add point
*  `drag` : move point
*  `ctrl + click` or `drag-out` : remove point


# Installation

```bash
bower install ng-curve --save
```

Then include the CSS file and javascript file

```html
<link rel="stylesheet" href="bower_components/ng-curve/dist/ng-curve.css" />
<script src="bower_components/ng-curve/dist/ng-curve.min.js"></script>
```

# Usage

Include `ngCurve` in your app's dependencies:

```javascript
angular.module('app', ['ngCurve'])
```

And the directive to your page like this : 

```html
<curve-editor dot-data="input.dots"></curve-editor>
```

# Todo

* options for changing design 
* options for grid color setting
* options for maintain aspect ratio of grid or not
{'fraction_non_alphanumeric': 0.15552855407047386, 'fraction_numerical': 0.004860267314702308, 'mean_word_length': 4.364820846905538, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '4566793', 'n_tokens_mistral': 598, 'n_tokens_neox': 549, 'n_words': 160}