More sorting of imports

topo-mov
LEdoian 1 year ago
parent 85f4359b1c
commit d400c030b2

@ -2,12 +2,15 @@
from birdvisu.annotations import AnnotatedTopology, AnnotatorID from birdvisu.annotations import AnnotatedTopology, AnnotatorID
from birdvisu.annotations.analysis import TopologyDifference, ShortestPathTree from birdvisu.annotations.analysis import TopologyDifference, ShortestPathTree
from birdvisu.ospfsock import BirdSocketConnection
from birdvisu.providers import BirdSocketTopologyProvider, OspfFileTopologyProvider, OspfFileParseError from birdvisu.providers import BirdSocketTopologyProvider, OspfFileTopologyProvider, OspfFileParseError
from birdvisu.topo_v3 import TopologyV3, VertexID from birdvisu.topo_v3 import TopologyV3, VertexID
from PySide6 import QtCore, QtGui, QtWidgets
from collections import defaultdict from collections import defaultdict
from enum import Enum, auto
from ipaddress import IPv4Address from ipaddress import IPv4Address
from PySide6 import QtCore, QtGui, QtWidgets
from PySide6.QtCore import Slot
from random import randint from random import randint
import sys import sys
@ -33,10 +36,6 @@ class MyGraphicsRectItem(QtWidgets.QGraphicsRectItem):
self.shapes[e].setLine(qlinef) self.shapes[e].setLine(qlinef)
return super().mouseMoveEvent(evt) return super().mouseMoveEvent(evt)
from enum import Enum, auto
from PySide6.QtCore import Slot
from birdvisu.ospfsock import BirdSocketConnection
class BirdTopologyLoader(QtWidgets.QDialog): class BirdTopologyLoader(QtWidgets.QDialog):
def __init__(self, *a, **kwa): def __init__(self, *a, **kwa):
super().__init__(*a, **kwa) super().__init__(*a, **kwa)

Loading…
Cancel
Save