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,
}),
arrowhead: 'normal',
arrowTypeEnd: 'arrow_barb',
arrowTypeEnd: 'arrow_neo',
style: G_EDGE_STYLE,
labelStyle: '',
label: common.sanitizeText(item.description, getConfig()),

View File

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

View File

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