Compare commits
1 Commits
5850931614
...
741cc48ce5
| Author | SHA1 | Date | |
|---|---|---|---|
| 741cc48ce5 |
@@ -100,9 +100,9 @@ class TopologyGraphComponent extends Component {
|
||||
.join('');
|
||||
|
||||
// Add hint for node interactions
|
||||
let hint = '<div style="margin-top: 8px; font-size: 11px; color: rgba(255, 255, 255, 0.7); text-align: center;">💡 Click to set as primary & toggle view</div>';
|
||||
let hint = '<div style="margin-top: 8px; font-size: 11px; color: rgba(255, 255, 255, 0.7); text-align: center;">💡 Click to set as API Node & toggle view</div>';
|
||||
if (nodeData && nodeData.isPrimary) {
|
||||
hint = '<div style="margin-top: 8px; font-size: 11px; color: rgba(255, 215, 0, 0.9); text-align: center;">⭐ Primary Node - Click to toggle view</div>';
|
||||
hint = '<div style="margin-top: 8px; font-size: 11px; color: rgba(255, 215, 0, 0.9); text-align: center;">⭐ API Node - Click to toggle view</div>';
|
||||
}
|
||||
|
||||
this.tooltipEl.innerHTML = `<div class=\"member-labels\">${chips}</div>${hint}`;
|
||||
@@ -629,7 +629,7 @@ class TopologyGraphComponent extends Component {
|
||||
.attr('transform', 'translate(0, 0)');
|
||||
|
||||
primaryBadge.append('text')
|
||||
.text('P')
|
||||
.text('A')
|
||||
.attr('text-anchor', 'middle')
|
||||
.attr('dominant-baseline', 'central')
|
||||
.attr('font-size', '12px')
|
||||
@@ -722,7 +722,7 @@ class TopologyGraphComponent extends Component {
|
||||
.attr('transform', 'translate(0, 0)');
|
||||
|
||||
badge.append('text')
|
||||
.text('P')
|
||||
.text('A')
|
||||
.attr('text-anchor', 'middle')
|
||||
.attr('dominant-baseline', 'central')
|
||||
.attr('font-size', '12px')
|
||||
@@ -1081,7 +1081,7 @@ class TopologyGraphComponent extends Component {
|
||||
.attr('stroke-width', 1);
|
||||
|
||||
primaryBadge.append('text')
|
||||
.text('P')
|
||||
.text('A')
|
||||
.attr('text-anchor', 'middle')
|
||||
.attr('dominant-baseline', 'central')
|
||||
.attr('font-size', '8px')
|
||||
|
||||
Reference in New Issue
Block a user