Display flow arrows when selecting a path
This commit is contained in:
@@ -73,6 +73,7 @@ namespace PamhagenSysCtrl.Windows {
|
||||
private ISet<INode> UpdateScheme(Point pos, bool down) {
|
||||
foreach (var e in Graph.Edges) {
|
||||
e.Highlight = null;
|
||||
e.Flow = null;
|
||||
}
|
||||
foreach (var p in Graph.SelectedPaths) {
|
||||
Graph.ColorPipesAdjacientToPath(p, PamhagenBrushes.Green, PamhagenBrushes.DimOrange);
|
||||
@@ -96,6 +97,7 @@ namespace PamhagenSysCtrl.Windows {
|
||||
if (_lastSource != null) {
|
||||
foreach (var edge in _lastSource.Outputs) {
|
||||
edge.Highlight = PamhagenBrushes.Green;
|
||||
edge.Flow = (true, 0);
|
||||
}
|
||||
}
|
||||
Graph.Update(hover, down);
|
||||
|
||||
Reference in New Issue
Block a user