Skip to content

Commit

Permalink
Added DNS icon for DNS nodes and changed color on right click node menu
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Jan 4, 2022
1 parent 948d56e commit 1bb651a
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 1 deletion.
9 changes: 8 additions & 1 deletion modules/analyze/html/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,13 @@ var cytostyle = [{
"background-color": "pink"
}
},
{
selector: 'node[type="DNSNode"]',
style: {
shape: "rectangle",
"background-image": "icons/dns.svg",
}
},
{
selector: 'node[type="Computer"]', // [? _workstation]
style: {
Expand Down Expand Up @@ -759,7 +766,7 @@ function initgraph(data) {
// css classes that menu items will have
menuItemClasses: [
// add class names to this list
"bg-secondary"
"bg-primary"
],
// css classes that context menu will have
contextMenuClasses: [
Expand Down
59 changes: 59 additions & 0 deletions modules/analyze/html/icons/dns.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1bb651a

Please sign in to comment.