Skip to content

Commit

Permalink
rename EdgeDataFlowVisualizer -> EdgeDirectionVisualizer
Browse files Browse the repository at this point in the history
Use a functional description instead of a visual description as
we only have one way to visualize edge direction right now.
  • Loading branch information
tinxx committed Sep 30, 2024
1 parent 0f316cb commit cd8db19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Assets/SEE/Game/Operator/EdgeOperator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ public void AnimateDataFlow(bool enable = true)
{
if (enable)
{
gameObject.AddOrGetComponent<EdgeDataFlowVisualizer>();
gameObject.AddOrGetComponent<EdgeDirectionVisualizer>();
}
else
{
EdgeDataFlowVisualizer edfv = gameObject.GetComponent<EdgeDataFlowVisualizer>();
EdgeDirectionVisualizer edfv = gameObject.GetComponent<EdgeDirectionVisualizer>();
Destroyer.Destroy(edfv);
}
}
Expand Down Expand Up @@ -275,7 +275,7 @@ protected override void OnDisable()
/// <summary>
/// Implements a data flow visualization to indicate the direction of an edge.
/// </summary>
private class EdgeDataFlowVisualizer : MonoBehaviour
private class EdgeDirectionVisualizer : MonoBehaviour
{
/// <summary>
/// Maximal count of particles.
Expand Down

0 comments on commit cd8db19

Please sign in to comment.