double
|
calc_dist(p,
q)
Calculate distance between p and q. |
|
|
|
clr_node_info(gid,
node,
flags)
Clear node info for the given node. |
|
|
mutable_graph_t
|
|
graph_viewer_t *
|
create_graph_viewer(title,
id,
callback,
ud,
title_height,
parent=None)
Create a custom graph viewer. |
|
|
mutable_graph_t
|
|
user_graph_place_t
|
|
|
del_node_info(gid,
node)
Delete the 'node_info_t' for the given node. |
|
|
|
delete_mutable_graph(g)
Delete graph object.use this only if you are dealing with
'mutable_graph_t' instances that have not been used together with a
'graph_viewer_t' . |
|
|
graph_viewer_t *
|
|
bool
|
|
mutable_graph_t
|
|
|
|
|
pyg_select_node(_self,
nid) |
|
|
bool
|
|
|
|
|
|
|
|
bool
|
|
|
|
bool
|
viewer_create_groups(gv,
out_group_nodes,
gi)
This will perform an operation similar to what happens when a user
manually selects a set of nodes, right-clicks and selects
"Create group". |
|
|
|
|
bool
|
|
|
|
int
|
|
bool
|
viewer_get_gli(out,
gv,
flags=0)
Get location info for given graph view If flags contains
GLICTL_CENTER, then the gli that will be retrieved, will be the one
at the center of the view. |
|
|
bool
|
|
bool
|
|
|
viewer_set_gli(gv,
gli,
flags=0)
Set location info for given graph view If flags contains
GLICTL_CENTER, then the gli will be set to be the center of the view. |
|
|
bool
|
|
|
viewer_set_node_info(gv,
n,
ni,
flags)
Set node info for node in given viewer (see 'set_node_info()' ) |
|
|
int
|
|
|
COLLAPSED_NODE = -2147483648
|
|
GLICTL_CENTER = 1
|
|
MTG_DOT_NODE = 2
|
|
MTG_GROUP_NODE = 1
|
|
MTG_NON_DISPLAYABLE_NODE = 8
|
|
NIFF_SHOW_CONTENTS = 1
|
|
NIF_ALL = 31
|
|
NIF_BG_COLOR = 1
|
|
NIF_EA = 4
|
|
NIF_FLAGS = 16
|
|
NIF_FRAME_COLOR = 2
|
|
NIF_TEXT = 8
|
|
SWIG_PYTHON_LEGACY_BOOL = 1
|
|
__package__ = None
|
|
arrow_height = 10
|
|
arrow_width = 8
|
|
cvar = ??
|
|
edge_back = 3
|
|
edge_cross = 4
|
|
edge_error = 0
|
|
edge_forward = 2
|
|
edge_subgraph = 5
|
|
edge_tree = 1
|
|
git_edge = 1
|
|
git_elp = 5
|
|
git_node = 2
|
|
git_none = 0
|
|
git_text = 4
|
|
git_tool = 3
|
|
grcode_attach_menu_item = 301
|
|
grcode_calculating_layout = 0
|
|
grcode_center_on = 264
|
|
grcode_change_group_visibility = 281
|
|
grcode_changed_graph = 2
|
|
grcode_clear = 269
|
|
grcode_clicked = 4
|
|
grcode_create_circle_layout = 272
|
|
grcode_create_digraph_layout = 270
|
|
grcode_create_disasm_graph1 = 287
|
|
grcode_create_disasm_graph2 = 288
|
|
grcode_create_graph_viewer = 256
|
|
grcode_create_group = 275
|
|
grcode_create_mutable_graph = 259
|
|
grcode_create_tree_layout = 271
|
|
grcode_create_user_graph_place = 286
|
|
grcode_creating_group = 6
|
|
grcode_dblclicked = 5
|
|
grcode_del_custom_layout = 266
|
|
grcode_del_node_info = 291
|
|
grcode_delete_group = 280
|
|
grcode_delete_mutable_graph = 298
|
|
grcode_deleting_group = 7
|
|
grcode_destroyed = 18
|
|
grcode_edge_infos_wrapper_clear = 300
|
|
grcode_edge_infos_wrapper_copy = 299
|
|
grcode_empty = 278
|
|
grcode_find_subgraph_node = 274
|
|
grcode_fit_window = 262
|
|
grcode_get_curnode = 263
|
|
grcode_get_custom_layout = 276
|
|
grcode_get_gli = 303
|
|
grcode_get_graph_groups = 277
|
|
grcode_get_graph_viewer = 257
|
|
grcode_get_node_info = 290
|
|
grcode_get_node_representative = 273
|
|
grcode_get_selection = 265
|
|
grcode_get_viewer_graph = 258
|
|
grcode_gotfocus = 9
|
|
grcode_group_visibility = 8
|
|
grcode_is_visible_node = 279
|
|
grcode_layout_calculated = 1
|
|
grcode_lostfocus = 10
|
|
grcode_node_qty = 283
|
|
grcode_nrect = 284
|
|
grcode_refresh_viewer = 261
|
|
grcode_reserved = 3
|
|
grcode_set_custom_layout = 267
|
|
grcode_set_edge = 282
|
|
grcode_set_gli = 302
|
|
grcode_set_graph_groups = 268
|
|
grcode_set_node_info = 289
|
|
grcode_set_titlebar_height = 285
|
|
grcode_set_viewer_graph = 260
|
|
grcode_user_draw = 16
|
|
grcode_user_gentext = 12
|
|
grcode_user_hint = 17
|
|
grcode_user_refresh = 11
|
|
grcode_user_size = 14
|
|
grcode_user_text = 13
|
|
grcode_user_title = 15
|
|
grcode_viewer_create_groups = 292
|
|
grcode_viewer_create_groups_vec = 295
|
|
grcode_viewer_delete_groups = 293
|
|
grcode_viewer_delete_groups_vec = 296
|
|
grcode_viewer_groups_visibility = 294
|
|
grcode_viewer_groups_visibility_vec = 297
|
|
layout_circle = 3
|
|
layout_digraph = 1
|
|
layout_none = 0
|
|
layout_orthogonal = 5
|
|
layout_polar_tree = 4
|
|
layout_radial_tree = 6
|
|
layout_tree = 2
|
|
xgap = 10
|
|
ygap = 30
|