This module provide a set of concepts to add properties to graph elements
-
class core.graph.interface.port_graph.IPortGraph[source]
Bases: object
Directed graph with connections between in_ports
of vertices and out_port of vertices
-
add_in_port(vid, local_pid, pid=None)[source]
todo
-
add_out_port(vid, local_pid, pid=None)[source]
todo
-
capacity(pid)[source]
todo
-
connect(source_pid, target_pid, eid=None)[source]
todo
-
disconnect(eid)[source]
todo
-
in_port(vid, local_pid)[source]
todo
-
in_ports(vid=None)[source]
todo
-
is_in_port(pid)[source]
todo
-
is_out_port(pid)[source]
todo
-
out_port(vid, local_pid)[source]
todo
-
out_ports(vid=None)[source]
todo
-
port(pid)[source]
todo
-
port_edges(pid)[source]
todo
-
port_neighbors(pid)[source]
todo
-
ports(vid=None)[source]
todo
-
remove_port(pid)[source]
todo
-
set_capacity(pid, capacity)[source]
todo
-
source_port(eid)[source]
todo
-
target_port(eid)[source]
todo
-
vertex(pid)[source]
todo