ec2 style

This commit is contained in:
Peter Howell 2025-08-28 05:59:24 +00:00
parent 31d28a5f97
commit b7434fb205
1 changed files with 6 additions and 5 deletions

View File

@ -129,12 +129,13 @@
'height': 'label',
'padding': '12px',
'text-opacity': 1, /* show built-in text for EC2 */
'text-margin-x': 0,
'text-margin-y': 0,
'text-wrap': 'wrap',
'text-max-width': 220,
'text-valign': 'top',
'text-halign': 'left'
'text-max-width': 240,
'text-halign': 'center', /* place label inside node */
'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 = "sg"]', style: { 'background-color': '#fff7ed','border-color': '#f59e0b' }},