<commit_before>/*************************************************
 * Copyright (c) 2016 Ansible, Inc.
 *
 * All Rights Reserved
 *************************************************/

export default [ '$state',
    function($state) {

    return {
        scope: {
            treeData: '=',
            canAddWorkflowJobTemplate: '=',
            addNode: '&',
            editNode: '&',
            deleteNode: '&',
            workflowZoomed: '&',
            mode: '@'
        },
        restrict: 'E',
        link: function(scope, element) {

            let margin = {top: 20, right: 20, bottom: 20, left: 20},
                width = 950,
                height = 550,
                i = 0,
                nodeW = 120,
                nodeH = 60,<commit_msg>adding moment as a dependency for workflow chart directive<commit_after>/*************************************************
 * Copyright (c) 2016 Ansible, Inc.
 *
 * All Rights Reserved
 *************************************************/

export default [ '$state','moment',
    function($state, moment) {

    return {
        scope: {
            treeData: '=',
            canAddWorkflowJobTemplate: '=',
            addNode: '&',
            editNode: '&',
            deleteNode: '&',
            workflowZoomed: '&',
            mode: '@'
        },
        restrict: 'E',
        link: function(scope, element) {

            let margin = {top: 20, right: 20, bottom: 20, left: 20},
                width = 950,
                height = 550,
                i = 0,
                nodeW = 120,
                nodeH = 60,
{'fraction_non_alphanumeric': 0.23869346733668342, 'fraction_numerical': 0.03015075376884422, 'mean_word_length': 1.655, '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': '142897', 'n_tokens_mistral': 471, 'n_tokens_neox': 402, 'n_words': 102}