new node types
This commit is contained in:
@@ -665,7 +665,8 @@ class GraphManager {
|
||||
const colors = {
|
||||
'domain': '#00ff41', // Green
|
||||
'ip': '#ff9900', // Amber
|
||||
'asn': '#00aaff', // Blue
|
||||
'isp': '#00aaff', // Blue
|
||||
'ca': '#ff6b6b', // Red
|
||||
'large_entity': '#ff6b6b', // Red for large entities
|
||||
'correlation_object': '#9620c0ff'
|
||||
};
|
||||
@@ -681,7 +682,8 @@ class GraphManager {
|
||||
const borderColors = {
|
||||
'domain': '#00aa2e',
|
||||
'ip': '#cc7700',
|
||||
'asn': '#0088cc',
|
||||
'isp': '#0088cc',
|
||||
'ca': '#cc5555',
|
||||
'correlation_object': '#c235c9ff'
|
||||
};
|
||||
return borderColors[nodeType] || '#666666';
|
||||
@@ -696,9 +698,10 @@ class GraphManager {
|
||||
const sizes = {
|
||||
'domain': 12,
|
||||
'ip': 14,
|
||||
'asn': 16,
|
||||
'isp': 16,
|
||||
'ca': 16,
|
||||
'correlation_object': 8,
|
||||
'large_entity': 5
|
||||
'large_entity': 25
|
||||
};
|
||||
return sizes[nodeType] || 12;
|
||||
}
|
||||
@@ -712,9 +715,10 @@ class GraphManager {
|
||||
const shapes = {
|
||||
'domain': 'dot',
|
||||
'ip': 'square',
|
||||
'asn': 'triangle',
|
||||
'isp': 'triangle',
|
||||
'ca': 'diamond',
|
||||
'correlation_object': 'hexagon',
|
||||
'large_entity': 'database'
|
||||
'large_entity': 'dot'
|
||||
};
|
||||
return shapes[nodeType] || 'dot';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user