Annotations

Functions for working with ANNOTATIONS for the addition and modification of graphical annotation objects. In the Cytoscape user interface, annotations are managed in the Annotation tab of the Control Panel.

Adding

add_annotation_text([text, x_pos, y_pos, …])

Add Text Annotation

add_annotation_bounded_text([text, x_pos, …])

Add Bounded Text Annotation

add_annotation_image([url, x_pos, y_pos, …])

Add Image Annotation

add_annotation_shape([type, custom_shape, …])

Add Shape Annotation

Grouping

group_annotation([names, network, base_url])

Group Annotation

ungroup_annotation([names, network, base_url])

Ungroup Annotation group

update_group_annotation([name, …])

Update Group Annotation

Maintaining

delete_annotation([names, base_url])

Delete Annotation

get_annotation_list([network, base_url])

Get Annotation List

Updating

update_annotation_text([text, …])

Update Text Annotation

update_annotation_bounded_text([text, …])

Update Bounded Text Annotation

update_annotation_shape([type, …])

Update Shape Annotation

update_annotation_image([url, …])

Update Image Annotation