MCPcopy Create free account
hub / github.com/PJLab-ADG/OASim / plotScene

Method plotScene

limsim/simModel/common/networkBuild.py:457–464  ·  view source on GitHub ↗
(self, widget: QWidget, ex:float, ey:float, ctf: CoordTF, is_selectable: bool = False)

Source from the content-addressed store, hash-verified

455 self.plotJunctionLane(jl, widget, ex, ey, ctf)
456
457 def plotScene(self, widget: QWidget, ex:float, ey:float, ctf: CoordTF, is_selectable: bool = False):
458 if self.edges:
459 for ed in self.edges:
460 self.plotEdge(ed, widget, ex, ey, ctf, is_selectable)
461
462 if self.junctions:
463 for jc in self.junctions:
464 self.plotJunction(jc, widget, ex, ey, ctf)
465
466 def showTextOnEdge(self, signal: Signal, eid: str, text: str, ex:float, ey:float, ctf: CoordTF):
467 edge = self.getEdge(eid)

Callers

nothing calls this directly

Calls 2

plotEdgeMethod · 0.95
plotJunctionMethod · 0.95

Tested by

no test coverage detected