<commit_before>import cytoscape from 'cytoscape';
import sbgnStyleSheet from 'cytoscape-sbgn-stylesheet';

const stylesheet = sbgnStyleSheet(cytoscape)
.selector('node[class!="compartment"]')
.css({
  'font-size': 16,
  'color': 'black',
  'text-outline-color': 'white',
  'text-outline-width': 2
})
.selector('edge')
.css({
  'opacity': 0.3
});

export default stylesheet;<commit_msg>style changes - increase font size - wrap long complex node labels - place labbel inside node body when collapsed<commit_after>import cytoscape from 'cytoscape';
import sbgnStyleSheet from 'cytoscape-sbgn-stylesheet';

const stylesheet = sbgnStyleSheet(cytoscape)
.selector('node').css({
  'text-wrap': 'wrap',
  'text-max-width': 150
})
.selector('node[class!="compartment"]')
.css({
  'font-size': 20,
  'color': 'black',
  'text-outline-color': 'white',
  'text-outline-width': 2,
  'text-outline-opacity': 0.5
})
.selector('node[class="complex"]')
.css({
  'content': (node) => node.data('label').split(':').join(' '),
  'width': 30,
  'height': 30
})
.selector('.cy-expand-collapse-collapsed-node')
.css({
  'background-color': '#3f3c3c',
  'color': 'white',
  'text-outline-color': 'black',
  'text-outline-width': 2,
  'text-outline-opacity': 1,
  'text-valign': 'center'
})
.selector('edge')
.css({
  'opacity': 0.3
});

export default stylesheet;
{'fraction_non_alphanumeric': 0.20373134328358208, 'fraction_numerical': 0.01791044776119403, 'mean_word_length': 5.151376146788991, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2256860', 'n_tokens_mistral': 512, 'n_tokens_neox': 484, 'n_words': 101}