Tidy up for lint

This commit is contained in:
Adrian Hall 2020-03-17 09:48:32 +00:00
parent a0bbbe1404
commit 4f50e36e5b
2 changed files with 3 additions and 3 deletions

View File

@ -283,7 +283,7 @@ const drawRelationshipFromLayout = function(svg, rel, g, insert) {
.attr('dominant-baseline', 'middle')
.attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize)
.text(rel.roleA);
// Figure out how big the opaque 'container' rectangle needs to be
const labelBBox = labelNode.node().getBBox();

View File

@ -353,8 +353,8 @@ const config = {
*/
er: {
/**
* Directional bias for layout of entities. Can be either 'TB', 'BT', 'LR', or 'RL',
* where T = top, B = bottom, L = left, and R = right.
* Directional bias for layout of entities. Can be either 'TB', 'BT', 'LR', or 'RL',
* where T = top, B = bottom, L = left, and R = right.
*/
layoutDirection: 'TB',