ec2 style
This commit is contained in:
parent
31d28a5f97
commit
b7434fb205
11
ex4.html
11
ex4.html
|
|
@ -129,12 +129,13 @@
|
||||||
'height': 'label',
|
'height': 'label',
|
||||||
'padding': '12px',
|
'padding': '12px',
|
||||||
'text-opacity': 1, /* show built-in text for EC2 */
|
'text-opacity': 1, /* show built-in text for EC2 */
|
||||||
'text-margin-x': 0,
|
|
||||||
'text-margin-y': 0,
|
|
||||||
'text-wrap': 'wrap',
|
'text-wrap': 'wrap',
|
||||||
'text-max-width': 220,
|
'text-max-width': 240,
|
||||||
'text-valign': 'top',
|
'text-halign': 'center', /* place label inside node */
|
||||||
'text-halign': 'left'
|
'text-valign': 'center',
|
||||||
|
'text-justification': 'left', /* left-align lines within block */
|
||||||
|
'text-margin-x': 0,
|
||||||
|
'text-margin-y': 0
|
||||||
}},
|
}},
|
||||||
{ selector: 'node[type = "rds"]', style: { 'background-color': '#dcfce7','border-color': '#10b981' }},
|
{ selector: 'node[type = "rds"]', style: { 'background-color': '#dcfce7','border-color': '#10b981' }},
|
||||||
{ selector: 'node[type = "sg"]', style: { 'background-color': '#fff7ed','border-color': '#f59e0b' }},
|
{ selector: 'node[type = "sg"]', style: { 'background-color': '#fff7ed','border-color': '#f59e0b' }},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue