Display flow arrows when selecting a path

This commit is contained in:
2026-07-31 14:22:00 +02:00
parent 79e8640ac0
commit 19deed4fd7
7 changed files with 178 additions and 1 deletions
@@ -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);