mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-13 04:19:44 +02:00
@@ -192,7 +192,6 @@ export const bounds = {
|
|||||||
return this.verticalPos;
|
return this.verticalPos;
|
||||||
},
|
},
|
||||||
getBounds: function() {
|
getBounds: function() {
|
||||||
console.log('here', this.data);
|
|
||||||
return { bounds: this.data, models: this.models };
|
return { bounds: this.data, models: this.models };
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -503,7 +502,6 @@ function adjustLoopHeightForWrap(loopWidths, msg, preMargin, postMargin, addLoop
|
|||||||
*/
|
*/
|
||||||
export const draw = function(text, id) {
|
export const draw = function(text, id) {
|
||||||
conf = configApi.getConfig().sequence;
|
conf = configApi.getConfig().sequence;
|
||||||
console.log('there ', conf);
|
|
||||||
parser.yy.clear();
|
parser.yy.clear();
|
||||||
parser.yy.setWrap(conf.wrap);
|
parser.yy.setWrap(conf.wrap);
|
||||||
parser.parse(text + '\n');
|
parser.parse(text + '\n');
|
||||||
|
@@ -166,6 +166,6 @@ class Theme {
|
|||||||
export const getThemeVariables = userOverrides => {
|
export const getThemeVariables = userOverrides => {
|
||||||
const theme = new Theme();
|
const theme = new Theme();
|
||||||
theme.calculate(userOverrides);
|
theme.calculate(userOverrides);
|
||||||
console.info('Theme(dark)', { userOverrides, theme });
|
// console.info('Theme(dark)', { userOverrides, theme });
|
||||||
return theme;
|
return theme;
|
||||||
};
|
};
|
||||||
|
@@ -147,6 +147,6 @@ class Theme {
|
|||||||
export const getThemeVariables = userOverrides => {
|
export const getThemeVariables = userOverrides => {
|
||||||
const theme = new Theme();
|
const theme = new Theme();
|
||||||
theme.calculate(userOverrides);
|
theme.calculate(userOverrides);
|
||||||
console.info('Theme(forest)', { userOverrides, theme });
|
// console.info('Theme(forest)', { userOverrides, theme });
|
||||||
return theme;
|
return theme;
|
||||||
};
|
};
|
||||||
|
@@ -185,6 +185,6 @@ class Theme {
|
|||||||
export const getThemeVariables = userOverrides => {
|
export const getThemeVariables = userOverrides => {
|
||||||
const theme = new Theme();
|
const theme = new Theme();
|
||||||
theme.calculate(userOverrides);
|
theme.calculate(userOverrides);
|
||||||
console.info('Theme(neutral)', { userOverrides, theme });
|
// console.info('Theme(neutral)', { userOverrides, theme });
|
||||||
return theme;
|
return theme;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user