Style the flow chart labels via SCSS

This commit is contained in:
Stan Hu 2019-07-21 08:49:21 -07:00
parent 83b7163844
commit c6502fb03b
2 changed files with 4 additions and 1 deletions

View File

@ -78,7 +78,6 @@ export const addVertices = function (vert, g, svgId) {
tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve')
tspan.setAttribute('dy', '1em')
tspan.setAttribute('x', '1')
tspan.setAttribute('fill', '#333')
tspan.textContent = rows[j]
svgLabel.appendChild(tspan)
}

View File

@ -3,6 +3,10 @@
color: #333;
}
.label text {
fill: #333;
}
.node rect,
.node circle,
.node ellipse,