set of all items on graph
use to update (overwrite by replacement) what's on graph, converts EdgeSpec(s) to EntityEdge(s) (if possible), no edge discovery will be performed later, for that use addToGraph
set of all selected items on graph
use to update what's selected on graph
set of id of all super selected (subselected) items on graph
use to update what's super selected (subselected) on graph
add entities/relationships to graph, converts EdgeSpec(s) to EntityEdge(s) (if possible) and can also initialize discovery of all available relationships between new and existing entities
remove entities/relationships from graph
DataContext is a container for abstract data of graph/selection/superselection. It serves like as a bridge between ontology data and linkchart. Eg. linkchart uses selection, if it updates, it will cause linkchart to select elements with same ids to be selected on it. Vice versa, if user clicks on linkchart, it will call setSelection and thus here via setEntities/setEdges from RightSidebarControllerContext anything what uses it (eg Rightsidebar or Superselect table) will be updated.