Alter ERD syntax for compatibility with PlantUML

This commit is contained in:
Adrian Hall
2020-03-29 08:42:20 +01:00
parent 6ddd394e33
commit 9199546dca
7 changed files with 236 additions and 238 deletions

View File

@@ -352,6 +352,11 @@ const config = {
* The object containing configurations specific for entity relationship diagrams
*/
er: {
/**
* The amount of padding around the diagram as a whole so that embedded diagrams have margins, expressed in pixels
*/
diagramPadding: 20,
/**
* Directional bias for layout of entities. Can be either 'TB', 'BT', 'LR', or 'RL',
* where T = top, B = bottom, L = left, and R = right.
@@ -359,17 +364,17 @@ const config = {
layoutDirection: 'TB',
/**
* The mimimum width of an entity box
* The mimimum width of an entity box, expressed in pixels
*/
minEntityWidth: 100,
/**
* The minimum height of an entity box
* The minimum height of an entity box, expressed in pixels
*/
minEntityHeight: 75,
/**
* The minimum internal padding between the text in an entity box and the enclosing box borders
* The minimum internal padding between the text in an entity box and the enclosing box borders, expressed in pixels
*/
entityPadding: 15,
@@ -383,13 +388,6 @@ const config = {
*/
fill: 'honeydew',
/**
* Opacity of entity boxes - if you want to see how the crows feet
* retain their elegant joins to the boxes regardless of the angle of incidence
* then override this to something less than 100%
*/
fillOpacity: '100%',
/**
* Font size
*/