Add missing styles to cytoscape css.Node

This commit is contained in:
Wesley Wigham
2019-04-12 13:25:03 -07:00
parent cd4ca9f27e
commit a1f55d4ff7
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ const parentCSS = {
'padding-left': '10px',
'padding-bottom': '10px',
'padding-right': '10px',
'text-valign': 'top',
'text-halign': 'center',
'text-valign': 'top' as 'top',
'text-halign': 'center' as 'center',
'background-color': '#CCC',
'font-size': 40,
'min-zoomed-font-size': 15
+5 -1
View File
@@ -3466,8 +3466,12 @@ declare namespace cytoscape {
/**
* http://js.cytoscape.org/#style/node-body
*/
interface Node extends Partial<Overlay>, PaddingNode {
interface Node extends Partial<Overlay>, PaddingNode, Partial<Labels> {
"label"?: string;
/**
* The CSS content field
*/
"content"?: string;
/**
* The width of the node’s body.
* This property can take on the special value label