source: orange/orange/OrangeWidgets/Visualize Qt/OWNxExplorer3D.py @ 9549:754ecbee6314

Revision 9549:754ecbee6314, 1.4 KB checked in by ales_erjavec <ales.erjavec@…>, 2 years ago (diff)

Fixed some more signal names.

Line 
1"""
2<name>Net Explorer 3D</name>
3<description>Orange widget for network exploration in 3D.</description>
4<icon>icons/Network.png</icon>
5<contact>Miha Stajdohar (miha.stajdohar(@at@)gmail.com)</contact> 
6<priority>411</priority>
7"""
8
9from OWNxExplorerQt import OWNxExplorerQt
10from OWNxCanvas3D import OWNxCanvas3D
11import Orange
12
13from OWNxCanvasQt import Default, AttributeList
14
15class OWNxExplorer3D(OWNxExplorerQt):
16    def __init__(self, parent=None, signalManager=None, name='Net Explorer 3D', network_canvas=OWNxCanvas3D):
17        OWNxExplorerQt.__init__(self, parent, signalManager, name, network_canvas)
18
19        self.inputs = [("Nx View", Orange.network.NxView, self.set_network_view),
20                       ("Network", Orange.network.Graph, self.set_graph, Default),
21                       ("Items", Orange.data.Table, self.setItems),
22                       ("Marked Items", Orange.data.Table, self.markItems), 
23                       ("Item Subset", Orange.data.Table, self.setExampleSubset), 
24                       ("Distances", Orange.core.SymMatrix, self.set_items_distance_matrix)]
25
26        self.outputs = [("Selected Network", Orange.network.Graph),
27                        ("Distance Matrix", Orange.core.SymMatrix),
28                        ("Selected Items", Orange.data.Table), 
29                        ("Other Items", Orange.data.Table), 
30                        ("Marked Items", Orange.data.Table),
31                        ("Features", AttributeList)]
32
33
Note: See TracBrowser for help on using the repository browser.