Remove obsolete functions
This commit is contained in:
parent
6ee3b3ccc6
commit
3c566b65c9
@ -73,9 +73,6 @@ class Harness:
|
||||
def connect(self, from_name, from_pin, via_name, via_pin, to_name, to_pin):
|
||||
self.cables[via_name].connect(from_name, from_pin, via_pin, to_name, to_pin)
|
||||
|
||||
def connect_all_straight(self, cable_name, from_name, to_name):
|
||||
self.cables[cable_name].connect_all_straight(from_name, to_name)
|
||||
|
||||
def create_graph(self):
|
||||
dot = Graph()
|
||||
dot.body.append('// Graph generated by WireViz')
|
||||
@ -328,9 +325,6 @@ class Cable:
|
||||
# self.connections.append((from_name, from_pin[i], via_pin[i], to_name, to_pin[i]))
|
||||
self.connections.append(Connection(from_name, from_pin[i], via_pin[i], to_name, to_pin[i]))
|
||||
|
||||
def connect_all_straight(self, from_name, to_name):
|
||||
self.connect(from_name, 'auto', 'auto', to_name, 'auto')
|
||||
|
||||
@dataclass
|
||||
class Connection:
|
||||
from_name: Any
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user