|
OpenCog Framework
Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
|
Inheritance diagram for viz_graph.Graph_Abserver:
Collaboration diagram for viz_graph.Graph_Abserver:Public Member Functions | |
| def | __init__ |
| def | write |
| def | filter_graph |
| def | graph_info |
| def | valid_edge |
Public Attributes | |
| source | |
| valid_edge_types | |
| valid_node_types | |
| graph | |
| inheritance | |
Private Member Functions | |
| def | _nodes_from_edge |
| def | _get_edges |
| def | _edge_type |
| def | _node_type |
| def | _edge_is_a |
| def | _node_is_a |
abstract class that help to abserve the graph according to the given filter imfo
Definition at line 297 of file viz_graph.py.
| def viz_graph.Graph_Abserver.__init__ | ( | self, | |
| source, | |||
| e_types, | |||
| n_types, | |||
inheritance = True |
|||
| ) |
Definition at line 299 of file viz_graph.py.
|
private |
type of source and target is consistency with valid_edge_types
Definition at line 357 of file viz_graph.py.
Here is the caller graph for this function:
|
private |
type of edge should be consistency with valid_edge_types
Definition at line 349 of file viz_graph.py.
Here is the caller graph for this function:
|
private |
type of e_type should be consistency with valid_edge_types
Definition at line 346 of file viz_graph.py.
Here is the caller graph for this function:
|
private |
type of source and target is consistency with valid_node_types
Definition at line 361 of file viz_graph.py.
Here is the caller graph for this function:
|
private |
type of node should be consistency with valid_node_types
Definition at line 353 of file viz_graph.py.
Here is the caller graph for this function:
|
private |
| def viz_graph.Graph_Abserver.filter_graph | ( | self | ) |
docstring for run()
Definition at line 311 of file viz_graph.py.
References viz_graph.Graph_Abserver._get_edges(), viz_graph.Graph_Abserver._nodes_from_edge(), viz_graph.Graph_Abserver.valid_edge(), and viz_graph.Graph_Abserver.valid_edge_types.
| def viz_graph.Graph_Abserver.graph_info | ( | self | ) |
docstring for graph_info
Definition at line 326 of file viz_graph.py.
| def viz_graph.Graph_Abserver.valid_edge | ( | self, | |
| edge, | |||
| nodes | |||
| ) |
Definition at line 366 of file viz_graph.py.
References viz_graph.Graph_Abserver._edge_is_a(), viz_graph.Graph_Abserver._edge_type(), viz_graph.Graph_Abserver._node_is_a(), viz_graph.Graph_Abserver._node_type(), viz_graph.Graph_Abserver.valid_edge_types, and viz_graph.Graph_Abserver.valid_node_types.
Here is the caller graph for this function:| def viz_graph.Graph_Abserver.write | ( | self, | |
| filename | |||
| ) |
docstring for write_dot
Definition at line 307 of file viz_graph.py.
| viz_graph.Graph_Abserver.graph |
Definition at line 303 of file viz_graph.py.
| viz_graph.Graph_Abserver.inheritance |
Definition at line 304 of file viz_graph.py.
| viz_graph.Graph_Abserver.source |
Definition at line 300 of file viz_graph.py.
| viz_graph.Graph_Abserver.valid_edge_types |
Definition at line 301 of file viz_graph.py.
| viz_graph.Graph_Abserver.valid_node_types |
Definition at line 302 of file viz_graph.py.