|
@ -11262,7 +11262,7 @@ function Popup(container, x, y, text, style) { |
|
|
styleAttr.visibility = "hidden"; |
|
|
styleAttr.visibility = "hidden"; |
|
|
styleAttr.border = "1px solid " + style.color.border; |
|
|
styleAttr.border = "1px solid " + style.color.border; |
|
|
styleAttr.color = style.fontColor; |
|
|
styleAttr.color = style.fontColor; |
|
|
styleAttr.fontSize = style.fontSize; |
|
|
|
|
|
|
|
|
styleAttr.fontSize = style.fontSize + "px"; |
|
|
styleAttr.fontFamily = style.fontFace; |
|
|
styleAttr.fontFamily = style.fontFace; |
|
|
styleAttr.padding = this.padding + "px"; |
|
|
styleAttr.padding = this.padding + "px"; |
|
|
styleAttr.backgroundColor = style.color.background; |
|
|
styleAttr.backgroundColor = style.color.background; |
|
@ -16677,6 +16677,7 @@ Graph.prototype.setOptions = function (options) { |
|
|
|
|
|
|
|
|
if (options.edges.color !== undefined) { |
|
|
if (options.edges.color !== undefined) { |
|
|
if (util.isString(options.edges.color)) { |
|
|
if (util.isString(options.edges.color)) { |
|
|
|
|
|
this.constants.edges.color = {}; |
|
|
this.constants.edges.color.color = options.edges.color; |
|
|
this.constants.edges.color.color = options.edges.color; |
|
|
this.constants.edges.color.highlight = options.edges.color; |
|
|
this.constants.edges.color.highlight = options.edges.color; |
|
|
} |
|
|
} |
|
|