Removed some hard coding form review

This commit is contained in:
Per Brolin
2024-06-10 12:02:15 +02:00
parent b41431b378
commit 4fe7e062b5
3 changed files with 6 additions and 6 deletions

View File

@@ -333,7 +333,7 @@ const setupDoc = (g, parentParsedItem, doc, diagramStates, diagramDb, altFlag) =
counter: graphItemCount, counter: graphItemCount,
}), }),
arrowhead: 'normal', arrowhead: 'normal',
arrowTypeEnd: 'arrow_barb', arrowTypeEnd: 'arrow_neo',
style: G_EDGE_STYLE, style: G_EDGE_STYLE,
labelStyle: '', labelStyle: '',
label: common.sanitizeText(item.description, getConfig()), label: common.sanitizeText(item.description, getConfig()),

View File

@@ -127,16 +127,16 @@ g.stateGroup line {
} }
.statediagram-cluster rect.outer { .statediagram-cluster rect.outer {
rx: 2px; rx: ${options.radius}px;
ry: 2px; ry: ${options.radius}px;
} }
.statediagram-state .divider { .statediagram-state .divider {
stroke: ${options.stateBorder || options.nodeBorder}; stroke: ${options.stateBorder || options.nodeBorder};
} }
.statediagram-state .title-state { .statediagram-state .title-state {
rx: 5px; rx: ${options.radius}px;
ry: 5px; ry: ${options.radius}px;
} }
.statediagram-cluster.statediagram-cluster .inner { .statediagram-cluster.statediagram-cluster .inner {
fill: ${options.compositeBackground || options.background}; fill: ${options.compositeBackground || options.background};

View File

@@ -25,7 +25,7 @@ class Theme {
// dark // dark
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif'; this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
this.fontSize = '16px'; this.fontSize = '10px';
} }
updateColors() { updateColors() {
// The || is to make sure that if the variable has been defined by a user override that value is to be used // The || is to make sure that if the variable has been defined by a user override that value is to be used