Skip to content

Commit

Permalink
Initialize the grapher windows with full graph context and non-connec…
Browse files Browse the repository at this point in the history
…ted mode

* Reasoning: It is difficult to judge, what is the most often used combination of settings and thus, which should be the default settings for the grapher. For the case of analysing single tracks the item source "track of selection" makes most sense. Also in this case drawing the edges in the grapher between these points makes sense. In other cases, such when inspecting large selections or even the dataset as a whole, showing the edges does not really help and leads to a very confusing plot. For the case of inspecting the full dataset without any selection the setting "track of selection", leads to an empty plot, when the grapher is first show. Thus, with this commit, the defaults are changed to full graph context and non-connected.
  • Loading branch information
stefanhahmann authored and tinevez committed Nov 12, 2024
1 parent 82dd28a commit ed5e781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static FeatureGraphConfig getFeatureGraphConfig()
new FeatureSpecPair( BranchDisplacementDurationFeature.SPEC, displacementSpec, false, false );
final FeatureSpecPair featureSpecY =
new FeatureSpecPair( BranchDisplacementDurationFeature.SPEC, durationSpec, false, false );
return new FeatureGraphConfig( featureSpecX, featureSpecY, GraphDataItemsSource.TRACK_OF_SELECTION, true );
return new FeatureGraphConfig( featureSpecX, featureSpecY, GraphDataItemsSource.CONTEXT, false );
}

@SuppressWarnings( "unchecked" )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static FeatureGraphConfig getFeatureGraphConfig()
SpotFrameFeature.SPEC.getProjectionSpecs().iterator().next(), false, false );
final FeatureSpecPair spvy = new FeatureSpecPair( SpotQuickMeanIntensityFeature.SPEC,
SpotQuickMeanIntensityFeature.PROJECTION_SPEC, 0, false, false );
return new FeatureGraphConfig( spvx, spvy, FeatureGraphConfig.GraphDataItemsSource.TRACK_OF_SELECTION, true );
return new FeatureGraphConfig( spvx, spvy, FeatureGraphConfig.GraphDataItemsSource.CONTEXT, false );
}

@SuppressWarnings( "unchecked" )
Expand Down

0 comments on commit ed5e781

Please sign in to comment.