Skip to content

Instantly share code, notes, and snippets.

@triplingual
Created May 16, 2016 17:21
Show Gist options
  • Save triplingual/9b8fd0e4d1efdc66204e2cc9389a764a to your computer and use it in GitHub Desktop.
Save triplingual/9b8fd0e4d1efdc66204e2cc9389a764a to your computer and use it in GitHub Desktop.
Commented text showing how to hack a label size change.
{
"sigma": {
"drawingProperties": {
"activeFontStyle": "bold",
"defaultEdgeType": "curve",
"defaultHoverLabelBGColor": "#002147",
"defaultLabelColor": "#000",
"defaultLabelHoverColor": "#fff",
"defaultLabelSizeComment": "Changing 'defaultLabelSize' doesn't change the default label size if 'fontStyle' is at its default, 'bold'. Stripping that value allows for adjustments.",
"defaultLabelSize": 16,
"defaultLabelBGColor": "#ddd",
"font": "'Museo Sans'",
"fontStyleComment": "Default for fontStyle is 'bold'. For some reason, with that, changing 'defaultLabelSize' doesn't change the default label size. Stripping it allows for adjustments.",
"fontStyle": "",
"hoverFontStyle": "bold",
"labelThreshold": 0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment