Skip to content
Snippets Groups Projects

Resolve "Ajout du module Prébarrage"

Merged David Dorchies requested to merge 395-ajout-du-module-prebarrage into devel
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
@@ -266,6 +266,12 @@ export class PbSchemaComponent implements AfterViewInit, AfterContentInit, OnIni
// store, to draw later
sortedWalls.push(c);
}
this.existingWalls[basinsPair]++;
// draw wall Node
def.push(`${c.uid}["${this.itemDesription(c)}"]`); // square edges
def.push(`class ${c.uid} wall;`);
// draw "arrow" with 2 lines
def.push(`${upstreamBasinId}---${c.uid}-->${downstreamBasinId}`);
}
// sort then draw walls
sortedWalls.sort(this.triCloisonsGaucheDroite);
Loading