fixup! fixup! [Pather / RenderPather] move common functionality into PatherMixin; redo hierarchy
This commit is contained in:
parent
ace34aa7a3
commit
ba7fab6db2
@ -345,6 +345,17 @@ class RenderPather(PortList, PatherMixin):
|
|||||||
|
|
||||||
return self
|
return self
|
||||||
|
|
||||||
|
def plugged(
|
||||||
|
self,
|
||||||
|
connections: dict[str, str],
|
||||||
|
) -> Self:
|
||||||
|
for aa, bb in connections.items():
|
||||||
|
porta = self.ports[aa]
|
||||||
|
portb = self.ports[bb]
|
||||||
|
self.paths[aa].append(RenderStep('P', None, porta.copy(), porta.copy(), None))
|
||||||
|
self.paths[bb].append(RenderStep('P', None, portb.copy(), portb.copy(), None))
|
||||||
|
PortList.plugged(self, connections)
|
||||||
|
return self
|
||||||
|
|
||||||
def path(
|
def path(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user