mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 22:09:57 +02:00
Tidy up for lint
This commit is contained in:
@@ -283,7 +283,7 @@ const drawRelationshipFromLayout = function(svg, rel, g, insert) {
|
|||||||
.attr('dominant-baseline', 'middle')
|
.attr('dominant-baseline', 'middle')
|
||||||
.attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize)
|
.attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize)
|
||||||
.text(rel.roleA);
|
.text(rel.roleA);
|
||||||
|
|
||||||
// Figure out how big the opaque 'container' rectangle needs to be
|
// Figure out how big the opaque 'container' rectangle needs to be
|
||||||
const labelBBox = labelNode.node().getBBox();
|
const labelBBox = labelNode.node().getBBox();
|
||||||
|
|
||||||
|
@@ -353,8 +353,8 @@ const config = {
|
|||||||
*/
|
*/
|
||||||
er: {
|
er: {
|
||||||
/**
|
/**
|
||||||
* Directional bias for layout of entities. Can be either 'TB', 'BT', 'LR', or 'RL',
|
* Directional bias for layout of entities. Can be either 'TB', 'BT', 'LR', or 'RL',
|
||||||
* where T = top, B = bottom, L = left, and R = right.
|
* where T = top, B = bottom, L = left, and R = right.
|
||||||
*/
|
*/
|
||||||
layoutDirection: 'TB',
|
layoutDirection: 'TB',
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user