Skip to content

Instantly share code, notes, and snippets.

@stozbomb
Last active January 22, 2018 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stozbomb/9dc00921d8227c909cb7fae3cbb1e35e to your computer and use it in GitHub Desktop.
Save stozbomb/9dc00921d8227c909cb7fae3cbb1e35e to your computer and use it in GitHub Desktop.
core {
active-bg-color: #fff;
active-bg-opacity: 0.333;
}
edge {
curve-style: haystack;
haystack-radius: 0;
opacity: 0.333;
width: 2;
z-index: 0;
overlay-opacity: 0;
}
node {
width: 40;
height: 40;
font-size: 10;
font-weight: bold;
min-zoomed-font-size: 4;
content: data(id);
text-valign: center;
text-halign: center;
color: #fff;
text-outline-width: 2;
text-outline-color: #fff;
text-outline-opacity: 1;
overlay-color: #fff;
}
edge[interaction = "cc"] {
line-color: #EA86F2;
opacity: 0.666;
z-index: 9;
width: 4;
}
node[NodeType = "Cheese"],
node[NodeType = "CheeseType"] {
background-color: #FACD37;
text-outline-color: #FACD37;
width: mapData(Quality, 70, 100, 20, 50);
height: mapData(Quality, 70, 100, 20, 50);
}
node[NodeType = "WhiteWine"] {
background-color: white;
text-outline-color: white;
}
node[NodeType = "IFA"] {
background-color: #D34A5B;
text-outline-color: #D34A5B;
}
node[NodeType = "Investment"] {
background-color: #66BC62;
text-outline-color: #66BC62;
}
node[NodeType = "InvestmentFund"] {
background-color: #0046f4;
text-outline-color: #0046f4;
}
node[NodeType = "DFM"] {
background-color: #65C1E5;
text-outline-color: #65C1E5;
}
node[NodeType = "Introducer"] {
background-color: #F9B355;
text-outline-color: #F9B355;
}
node[NodeType = "PensionProvider"] {
background-color: #A35EA8;
text-outline-color: #A35EA8;
}
node[NodeType = "SSAS"] {
background-color: #93682f;
text-outline-color: #93682f;
}
node[NodeType = "AR"] {
background-color: #FCEA10;
text-outline-color: #FCEA10;
}
node[NodeType = "misc"] {
background-color: #000;
text-outline-color: #000;
}
edge[interaction = "cw"] {
line-color: white;
}
node[NodeType = "RedWine"] {
background-color: #DE3128;
text-outline-color: #DE3128;
}
edge[interaction = "cr"] {
line-color: #DE3128;
}
node[NodeType = "Cider"] {
background-color: #A4EB34;
text-outline-color: #A4EB34;
}
node.highlighted {
min-zoomed-font-size: 0;
font-size: 10;
text-outline-width: 2;
text-outline-opacity: 1;
z-index: 9999;
}
edge.highlighted {
opacity: 0.8;
width: 4;
z-index: 9999;
}
edge.faded {
opacity: 0.1;
}
node.faded {
opacity: 0.2;
text-opacity: 0;
}
node:selected {
width: 40;
height: 40;
border-color: rgb(187, 219, 247);
border-opacity: 0.5;
border-width: 10;
content: data(id);
}
.filtered {
display: none;
}
node {
width: mapData(Claims, 70, 100, 20, 50);
height: mapData(Claims, 70, 100, 20, 50);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment