development
mcyph 2021-05-02 23:56:17 +10:00
parent 707605cedd
commit fe7ac7e84d
13 changed files with 29 additions and 29 deletions

View File

@ -145,8 +145,8 @@ export default Map;
style.perimiter = mxPerimeter.EllipsePerimeter;
style.fillColor = '#8CCDF5';
style.strokeColor = '#1B78C8';
style.strokeColor = '#000000';
style['opacity'] = '50';
style.fontColor = '#000000';
style.opacity = '50';
style.fontSize = '16';
graph.getStylesheet().putDefaultVertexStyle(style);

View File

@ -523,9 +523,9 @@ export default Ports;
style.gradientColor = '#41B9F5';
style.fillColor = '#8CCDF5';
style.strokeColor = '#1B78C8';
style.strokeColor = '#000000';
style.fontColor = '#000000';
style.rounded = true;
style['opacity'] = '80';
style.opacity = '80';
style.fontSize = '12';
style.fontStyle = 0;
style.imageWidth = '48';
@ -545,14 +545,14 @@ export default Ports;
style.gradientColor = '#7d85df';
style.strokeColor = '#5d65df';
style.fillColor = '#adc5ff';
style.strokeColor = '#1d258f';
style.fontColor = '#1d258f';
style.fontFamily = 'Verdana';
style.fontSize = '12';
style.fontStyle = '1';
style.rounded = '1';
style.imageWidth = '48';
style.imageHeight = '48';
style['opacity'] = '80';
style.opacity = '80';
graph.getStylesheet().putDefaultVertexStyle(style);*/
style = {};
@ -563,9 +563,9 @@ export default Ports;
style.fillColor = '#FF9103';
style.gradientColor = '#F8C48B';
style.strokeColor = '#E86A00';
style.strokeColor = '#000000';
style.fontColor = '#000000';
style.rounded = true;
style['opacity'] = '80';
style.opacity = '80';
style.startSize = '30';
style.fontSize = '16';
style.fontStyle = 1;
@ -573,7 +573,7 @@ export default Ports;
style = {};
style.shape = mxConstants.SHAPE_IMAGE;
style.strokeColor = '#774400';
style.fontColor = '#774400';
style.perimiter = mxPerimeter.RectanglePerimeter;
style.perimeterSpacing = '6';
style.align = mxConstants.ALIGN_LEFT;

View File

@ -652,7 +652,7 @@ export default MYNAMEHERE;
style.perimiter = mxPerimeter.RectanglePerimeter;
style.align = mxConstants.ALIGN_LEFT;
style.verticalAlign = mxConstants.ALIGN_MIDDLE;
style.strokeColor = '#000000';
style.fontColor = '#000000';
style.fontSize = '11';
style.fontStyle = 0;
style.spacingLeft = '4';
@ -669,7 +669,7 @@ export default MYNAMEHERE;
style.fillColor = '#8CCDF5';
style['swimlaneFillColor'] = '#ffffff';
style.strokeColor = '#1B78C8';
style.strokeColor = '#000000';
style.fontColor = '#000000';
style.strokeWidth = '2';
style.startSize = '28';
style.verticalAlign = 'middle';
@ -677,7 +677,7 @@ export default MYNAMEHERE;
style.fontStyle = 1;
style.image = 'images/icons48/table.png';
// Looks better without opacity if shadow is enabled
//style['opacity'] = '80';
//style.opacity = '80';
style.shadow = 1;
graph.getStylesheet().putCellStyle('table', style);

View File

@ -184,7 +184,7 @@ export default Scrollbars;
graph.stylesheet.getDefaultEdgeStyle().edge =
mxEdgeStyle.EntityRelation;
graph.stylesheet.getDefaultEdgeStyle().strokeColor = 'black';
graph.stylesheet.getDefaultEdgeStyle().strokeColor = 'black';
graph.stylesheet.getDefaultEdgeStyle().fontColor = 'black';
// Allows new connections to be made but do not allow existing
// connections to be changed for the sake of simplicity of this

View File

@ -521,7 +521,7 @@ EditorUi = function(editor, container, lightbox)
['strokeColor', 'strokeWidth'],
['fillColor', 'gradientColor'],
valueStyles,
['opacity'],
.opacity,
['align'],
['html']];

View File

@ -136,7 +136,7 @@ const Template = ({ label, ...args }) => {
style.fillColor = '#ffffff';
style.strokeColor = '#000000';
style.strokeWidth = '2';
style.strokeColor = '#000000';
style.fontColor = '#000000';
style.fontSize = '12';
style.fontStyle = 1;
graph.getStylesheet().putDefaultVertexStyle(style);

View File

@ -102,7 +102,7 @@ const Template = ({ label, ...args }) => {
style.shape = mxConstants.SHAPE_IMAGE;
style.perimiter = mxPerimeter.RectanglePerimeter;
style.image = 'images/icons48/keys.png';
style.strokeColor = '#FFFFFF';
style.fontColor = '#FFFFFF';
graph.getStylesheet().putCellStyle('image', style);
style = mxCloneUtils.clone(style);

View File

@ -41,7 +41,7 @@ const Template = ({ label, ...args }) => {
let style = graph.stylesheet.getDefaultVertexStyle();
style.shape = mxConstants.SHAPE_ELLIPSE;
style.perimiter = mxPerimeter.EllipsePerimeter;
style.strokeColor = 'white';
style.fontColor = 'white';
style.gradientColor = 'white';
style.fontStyle = mxConstants.FONT_BOLD;
style.fontSize = 14;
@ -49,9 +49,9 @@ const Template = ({ label, ...args }) => {
// Makes all edge labels gray with a white background
style = graph.stylesheet.getDefaultEdgeStyle();
style.strokeColor = 'gray';
style.fontColor = 'gray';
style.fontStyle = mxConstants.FONT_BOLD;
style.strokeColor = 'black';
style.fontColor = 'black';
style.strokeWidth = 2;
// Enables rubberband selection

View File

@ -199,7 +199,7 @@ const Template = ({ label, ...args }) => {
// Creates the stylesheet for the process display
let style = graph.getStylesheet().getDefaultVertexStyle();
style.fontSize = 11;
style.strokeColor = 'black';
style.fontColor = 'black';
style.strokeColor = '#808080';
style.fillColor = 'white';
style.gradientColor = 'white';
@ -218,7 +218,7 @@ const Template = ({ label, ...args }) => {
style.shape = mxConstants.SHAPE_SWIMLANE;
style.perimiter = mxPerimeter.RectanglePerimeter;
style.strokeColor = '#a0a0a0';
style.strokeColor = '#606060';
style.fontColor = '#606060';
style.fillColor = '#E0E0DF';
style.gradientColor = 'white';
style.startSize = 30;
@ -235,7 +235,7 @@ const Template = ({ label, ...args }) => {
style.shape = mxConstants.SHAPE_RHOMBUS;
style.perimiter = mxPerimeter.RhombusPerimeter;
style.strokeColor = '#91BCC0';
style.strokeColor = 'gray';
style.fontColor = 'gray';
style.fillColor = '#91BCC0';
style.gradientColor = 'white';
style.align = mxConstants.ALIGN_CENTER;
@ -246,7 +246,7 @@ const Template = ({ label, ...args }) => {
style = [];
style.shape = mxConstants.SHAPE_ELLIPSE;
style.perimiter = mxPerimeter.EllipsePerimeter;
style.strokeColor = 'gray';
style.fontColor = 'gray';
style.fillColor = '#A0C88F';
style.gradientColor = 'white';
style.strokeColor = '#A0C88F';

View File

@ -95,7 +95,7 @@ const Template = ({ label, ...args }) => {
style.strokeColor = '#5d65df';
style.fillColor = '#adc5ff';
style.strokeColor = '#1d258f';
style.fontColor = '#1d258f';
style.fontFamily = 'Verdana';
style.fontSize = '12';
style.fontStyle = '1';

View File

@ -65,7 +65,7 @@ const Template = ({ label, ...args }) => {
style.rounded = true;
style.fillColor = '#EEEEEE';
style.gradientColor = 'white';
style.strokeColor = '#774400';
style.fontColor = '#774400';
style.align = mxConstants.ALIGN_CENTER;
style.verticalAlign = mxConstants.ALIGN_MIDDLE;
style.fontSize = '12';

View File

@ -67,7 +67,7 @@ const Template = ({ label, ...args }) => {
style.fontSize = 11;
style.startSize = 22;
style.horizontal = false;
style.strokeColor = 'black';
style.fontColor = 'black';
style.strokeColor = 'black';
delete style.fillColor;
@ -108,7 +108,7 @@ const Template = ({ label, ...args }) => {
style.edge = mxEdgeStyle.ElbowConnector;
style.endArrow = mxConstants.ARROW_BLOCK;
style.rounded = true;
style.strokeColor = 'black';
style.fontColor = 'black';
style.strokeColor = 'black';
style = mxCloneUtils.clone(style);

View File

@ -180,7 +180,7 @@ const Template = ({ label, ...args }) => {
style.shadow = true;
style.fillColor = '#DFDFDF';
style.gradientColor = 'white';
style.strokeColor = 'black';
style.fontColor = 'black';
style.fontSize = '12';
style.spacing = 4;
@ -190,7 +190,7 @@ const Template = ({ label, ...args }) => {
style.labelBackgroundColor = 'white';
style.edge = mxEdgeStyle.ElbowConnector;
style.rounded = true;
style.strokeColor = 'black';
style.fontColor = 'black';
style.fontSize = '10';
// Gets the default parent for inserting new cells. This