<commit_before>import {UndirectedGraph} from 'graphology';
import randomLayout from 'graphology-layout/random';
import forceAtlas2 from 'graphology-layout-forceatlas2';
import {connectedComponents} from 'graphology-components';
import louvain from 'graphology-communities-louvain';
import WebGLRenderer from '../src/renderers/webgl';

import data from './resources/toflit.json';

// TODO: function returning sub-graph
// TODO: function returning optimal FA2 settings
// TODO: forEach iterator on graph
// TODO: outbound iterators

const scale = (d) => Math.max(2, Math.log2(d) * 1.7);

document.body.innerHTML += `<commit_msg>Dropping bunch of todos<commit_after>import {UndirectedGraph} from 'graphology';
import randomLayout from 'graphology-layout/random';
import forceAtlas2 from 'graphology-layout-forceatlas2';
import {connectedComponents} from 'graphology-components';
import louvain from 'graphology-communities-louvain';
import WebGLRenderer from '../src/renderers/webgl';

import data from './resources/toflit.json';

const scale = (d) => Math.max(2, Math.log2(d) * 1.7);

document.body.innerHTML += `
{'fraction_non_alphanumeric': 0.1269126912691269, 'fraction_numerical': 0.011701170117011701, 'mean_word_length': 5.864197530864198, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4855064', 'n_tokens_mistral': 339, 'n_tokens_neox': 334, 'n_words': 91}