<commit_before><div style="margin-top: 10px" layout="row">
    <div layout="column" flex="60">
        <p style="padding-left: 40px; padding-bottom: 20px">
            <strong>Note:</strong>
            The same process can appear in multiple places in the outline because multiple nodes may
            have it as a child. When selecting a node we will highlight all instances of it.
        </p>
        <ul>
            <li ng-repeat="node in $ctrl.rootNode.children" layout="column">
                <div ng-class="{'outline-node-selected': node.model.selected, 'outline-node-highlight': !node.model.selected && node.model.highlight}">
                    <input aria-label="In dataset" type="checkbox"
                           ng-change="$ctrl.toggle(node.model)"
                           ng-model="node.model.inds" ng-if="$ctrl.dataset">
                    <a ng-if="node.children.length"
                       ng-click="node.model.show = !node.model.show">
                        <i class="primary-color fa fa-fw"
                           ng-class="{'fa-chevron-right': !node.model.show, 'fa-chevron-down': node.model.show}"></i>
                        {{::node.model.name}}
                    </a>
                    <span ng-if="!node.children.length">
                        <i class="primary-color fa fa-fw fa-code-fork"></i> {{::node.model.name}}
                    </span>
                    (<a ng-click="$ctrl.showDetails(node.model)">Details</a>)
                </div>
                <mc-processes-workflow-outline-dir process="node" mc-processes-workflow-outline="$ctrl"
                                                   highlight-processes="$ctrl.highlightProcesses"
                                                   dataset="$ctrl.dataset"
                                                   ng-if="node.model.show">
                </mc-processes-workflow-outline-dir>
            </li>
        </ul>
    </div>
    <div flex md-whiteframe class="margin-left-15" ng-show="!$ctrl.sidebarShowing">
        <div ng-if="!$ctrl.process" layout-margin layout="center center">
            No process selected
        </div>
        <div ng-if="$ctrl.process">
            <div layout="row" layout-margin layout-wrap layout-align="end">
                <md-button class="md-primary" ng-if="!$ctrl.process.children.length"
                           ng-click="$ctrl.deleteProcess()">
                    Delete process
                </md-button>
                <md-button ng-disabled="true" ng-if="$ctrl.process.children.length"
                           tooltip="Must Delete child nodes before deleting this node">
                    To delete: remove 'children' first<commit_msg>Add scrolling to the workflow process outline<commit_after><div style="margin-top: 10px" layout="row">
    <md-content style="height:80vh;">
        <div layout="column" flex="60">
            <p style="padding-left: 40px; padding-bottom: 20px">
                <strong>Note:</strong>
                The same process can appear in multiple places in the outline because multiple nodes may
                have it as a child. When selecting a node we will highlight all instances of it.
            </p>
            <ul>
                <li ng-repeat="node in $ctrl.rootNode.children" layout="column">
                    <div ng-class="{'outline-node-selected': node.model.selected, 'outline-node-highlight': !node.model.selected && node.model.highlight}">
                        <input aria-label="In dataset" type="checkbox"
                               ng-change="$ctrl.toggle(node.model)"
                               ng-model="node.model.inds" ng-if="$ctrl.dataset">
                        <a ng-if="node.children.length"
                           ng-click="node.model.show = !node.model.show">
                            <i class="primary-color fa fa-fw"
                               ng-class="{'fa-chevron-right': !node.model.show, 'fa-chevron-down': node.model.show}"></i>
                            {{::node.model.name}}
                        </a>
                        <span ng-if="!node.children.length">
                        <i class="primary-color fa fa-fw fa-code-fork"></i> {{::node.model.name}}
                    </span>
                        (<a ng-click="$ctrl.showDetails(node.model)">Details</a>)
                    </div>
                    <mc-processes-workflow-outline-dir process="node" mc-processes-workflow-outline="$ctrl"
                                                       highlight-processes="$ctrl.highlightProcesses"
                                                       dataset="$ctrl.dataset"
                                                       ng-if="node.model.show">
                    </mc-processes-workflow-outline-dir>
                </li>
            </ul>
        </div>
    </md-content>
    <div flex md-whiteframe class="margin-left-15" ng-show="!$ctrl.sidebarShowing">
        <div ng-if="!$ctrl.process" layout-margin layout="center center">
            No process selected
        </div>
        <div ng-if="$ctrl.process">
            <div layout="row" layout-margin layout-wrap layout-align="end">
                <md-button class="md-primary" ng-if="!$ctrl.process.children.length"
                           ng-click="$ctrl.deleteProcess()">
                    Delete process
                </md-button>
                <md-button ng-disabled="true" ng-if="$ctrl.process.children.length"
                           tooltip="Must Delete child nodes before deleting this node">
                    To delete: remove 'children' first
{'fraction_non_alphanumeric': 0.13489527866524673, 'fraction_numerical': 0.0039048633297834577, 'mean_word_length': 1.4704077159140727, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1095166', 'n_tokens_mistral': 1489, 'n_tokens_neox': 1405, 'n_words': 296}