Skip to content

Commit

Permalink
closes #247 allow visualization of External Messages and External Ser…
Browse files Browse the repository at this point in the history
…vices in CommViz.
  • Loading branch information
finger563 committed Apr 4, 2018
1 parent b024f5e commit dac3fc1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/visualizers/panels/CommViz/CommVizControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
'Message',
'Service',
'Advertised Message',
'Advertised Service'
'Advertised Service',
'External Message',
'External Service'
];

var connectionTypes = [
Expand Down Expand Up @@ -172,7 +174,9 @@
objDescriptor.type == 'Message' ||
objDescriptor.type == 'Service' ||
objDescriptor.type == 'Advertised Message' ||
objDescriptor.type == 'Advertised Service') {
objDescriptor.type == 'Advertised Service' ||
objDescriptor.type == 'External Message' ||
objDescriptor.type == 'Exteranl Service') {
objDescriptor.parentId = null;
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/visualizers/widgets/CommViz/style2.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ node[allLogging = "True"] {
}

node[NodeType = "Message"],
node[NodeType = "External Message"],
node[NodeType = "Advertised Message"] {
background-color: green;
text-outline-color: green;
Expand All @@ -118,6 +119,7 @@ edge[type = "Publisher"] {
}

node[NodeType = "Service"],
node[NodeType = "External Service"],
node[NodeType = "Advertised Service"] {
background-color: #DE3128;
text-outline-color: #DE3128;
Expand Down

0 comments on commit dac3fc1

Please sign in to comment.