Commit d7d60288 authored by Leo Gordon's avatar Leo Gordon
Browse files

Make guiHive show foreign analyses as non-interactive elements of the diagram

parent ce9ef480
......@@ -137,7 +137,9 @@ sub _analysis_node_name {
my ($self, $analysis) = @_;
my $analysis_node_name = 'analysis_' . $analysis->relative_display_name( $self->pipeline );
$analysis_node_name=~s/\W/__/g;
if($analysis_node_name=~s/\W/__/g) {
$analysis_node_name = 'foreign_' . $analysis_node_name;
}
return $analysis_node_name;
}
......
......@@ -141,7 +141,7 @@ sub _as_debug {
# but newer versions of dot allow more freedom, so we patch dot input after generation:
#
$text=~s/^(\s+table_.*)"record"/$1"tab"/mg;
$text=~s/^(\s+analysis_.*)"record"/$1"Mrecord"/mg;
$text=~s/^(\s+(?:foreign_)?analysis_.*)"record"/$1"Mrecord"/mg;
# uncomment the following line to see the final input to dot
# print $text;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment