@@ -5,8 +5,8 @@ import { EdgeLabelDimensions, EdgeLabelLayouter } from './edge-label-layouter';
55describe ( 'EdgeLabelLayouter' , ( ) => {
66 it ( 'When two labels fit next to each other they appear next to each other, downwards' , ( ) => {
77 const dimensions : EdgeLabelDimensions = {
8- estCharacterWidth : 5 ,
9- estLabelLineHeight : 10 ,
8+ estEdgeLabelCharacterWidth : 5 ,
9+ estEdgeLabelLineHeight : 10 ,
1010 preferredVertDistanceFromOrigin : 30 ,
1111 strictlyKeepLabelOutOfBox : false ,
1212 } ;
@@ -27,8 +27,8 @@ describe('EdgeLabelLayouter', () => {
2727
2828 it ( 'When two labels do not fit next to each other they appear on different heights, downwards' , ( ) => {
2929 const dimensions : EdgeLabelDimensions = {
30- estCharacterWidth : 5 ,
31- estLabelLineHeight : 10 ,
30+ estEdgeLabelCharacterWidth : 5 ,
31+ estEdgeLabelLineHeight : 10 ,
3232 preferredVertDistanceFromOrigin : 30 ,
3333 strictlyKeepLabelOutOfBox : false ,
3434 } ;
@@ -52,8 +52,8 @@ describe('EdgeLabelLayouter', () => {
5252
5353 it ( 'When two labels fit next to each other they appear next to each other, upwards' , ( ) => {
5454 const dimensions : EdgeLabelDimensions = {
55- estCharacterWidth : 5 ,
56- estLabelLineHeight : 10 ,
55+ estEdgeLabelCharacterWidth : 5 ,
56+ estEdgeLabelLineHeight : 10 ,
5757 preferredVertDistanceFromOrigin : 30 ,
5858 strictlyKeepLabelOutOfBox : false ,
5959 } ;
@@ -74,8 +74,8 @@ describe('EdgeLabelLayouter', () => {
7474
7575 it ( 'When two labels do not fit next to each other they appear on different heights, upwards' , ( ) => {
7676 const dimensions : EdgeLabelDimensions = {
77- estCharacterWidth : 5 ,
78- estLabelLineHeight : 10 ,
77+ estEdgeLabelCharacterWidth : 5 ,
78+ estEdgeLabelLineHeight : 10 ,
7979 preferredVertDistanceFromOrigin : 30 ,
8080 strictlyKeepLabelOutOfBox : false ,
8181 } ;
@@ -96,8 +96,8 @@ describe('EdgeLabelLayouter', () => {
9696
9797 it ( 'When not strictlyKeepLabelOutOfBox, label can intersect box' , ( ) => {
9898 const dimensions = {
99- estCharacterWidth : 5 ,
100- estLabelLineHeight : 10 ,
99+ estEdgeLabelCharacterWidth : 5 ,
100+ estEdgeLabelLineHeight : 10 ,
101101 preferredVertDistanceFromOrigin : 12 ,
102102 strictlyKeepLabelOutOfBox : false ,
103103 } ;
@@ -114,8 +114,8 @@ describe('EdgeLabelLayouter', () => {
114114
115115 it ( 'When strictlyKeepLabelOutOfBox, label can not intersect box' , ( ) => {
116116 const dimensions = {
117- estCharacterWidth : 5 ,
118- estLabelLineHeight : 10 ,
117+ estEdgeLabelCharacterWidth : 5 ,
118+ estEdgeLabelLineHeight : 10 ,
119119 preferredVertDistanceFromOrigin : 12 ,
120120 strictlyKeepLabelOutOfBox : true ,
121121 } ;
0 commit comments