Manual
Main
API
Answers Overview
API Answers Overview
Help about API syntax
.
uDG_answer ::=
Answers from the API.
Details
.
ok
Positive confirmation.
Details
.
|
communication_error(
string
)
Negative confirmation.
Details
.
|
node_selections_labels(
node_ids
)
IDs of selected nodes.
Details
.
|
node_double_click
Double-click on selected node.
Details
.
|
edge_selection_label(
edge_id
)
ID of selected edge.
Details
.
|
edge_selection_labels(
node_id
,
node_id
)
As above with parent and child node.
Details
.
|
edge_double_click
Selected edge double-clicked.
Details
.
|
menu_selection(
menu_id
)
ID of selected menu.
Details
.
|
icon_selection(
icon_id
)
ID of selected icon.
Details
.
|
popup_selection_node(
node_id
,
menu_id
)
ID of sel. node popup menu.
Details
.
|
popup_selection_edge(
edge_id
,
menu_id
)
ID of sel. edge popup menu.
Details
.
|
context(
context_id
)
Other context (graph).
Details
.
|
context_window(
context_id
,
window_id
)
Other context and window.
Details
.
|
open_window
User opened a window.
Details
.
|
close_window(
window_id
)
ID of closed window.
Details
.
|
tcl_answer(
string
)
Answer from Tcl script.
Details
.
|
browser_answer(
string
,
string
)
File browser result.
Details
.
|
create_node
Drop new node.
Details
.
|
create_node_and_edge(
node_id
)
Drop node and edge for parent ID.
Details
.
|
create_edge(
node_id
,
node_id
)
Drop edge between nodes.
Details
.
|
drop_node(
node_id
,
context_id
,
window_id
,
node_id
)
Drop node in context and window on node.
Details
.
|
version(
string
)
Showing program version.
Details
.
|
disconnect
Termination request.
Details
.
|
close
Context (graph) closed.
Details
.
|
quit
.
uDraw(Graph) terminated.
Details
.