Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 18.104.22.168
public class AdjacentEdgesGraphSource : , ,
Public Class AdjacentEdgesGraphSource _ Inherits _ Implements ,
The nodes in the graph are determined using the NodesSource, InEdgesBinding and OutEdgesBinding properties, that is, a node is created for a business objects that is the source or target of an edge binding even if it is not part of the NodesSource.The in-edges and out-edges bindings define the respective edges and, thereby, the direct neighbors of a node. Nodes will be visualized using the for NodeControls has been assigned to the NodeControlStyle property.
This class can be used to dynamically update the Graph when the underlying collection of the business objects changes. In this case, the nodes specified by NodesSource are always present. All other nodes, that are the ones defined only in the in-edges or out-edges binding, persist only if they are reachable by a sequence of edge bindings that originates at a node specified by NodesSource. If an in-edge or out-edge connection is removed dynamically, graph components that are no longer reachable by a sequence of edge bindings from a node specified by NodesSource are completely removed from the graph.