Graph.Merge Method

Definition

Overloads

Merge(Graph)

Merge all new nodes and links from the given graph into this graph

Merge(IEnumerable<GraphLink>)

Merge all of the links from the given link list into this graph

Merge(IEnumerable<GraphNode>)

Merge all of the nodes from the given node list into this graph

Merge(IEnumerable<GraphObject>)

Merge all new nodes and links from the given list of graph objects into this graph

Merge(IEnumerable<GraphConditionalStyle>)

Merge all the styles from the given list.

Merge(Graph)

Merge all new nodes and links from the given graph into this graph

public:
 bool Merge(Microsoft::VisualStudio::GraphModel::Graph ^ other);

Parameters

other
Graph

The Graph to use as a source for merging

Returns

True if the graph was changed, otherwise false

Applies to

Merge(IEnumerable<GraphLink>)

Merge all of the links from the given link list into this graph

public:
 bool Merge(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphLink ^> ^ other);

Parameters

other
IEnumerable<GraphLink>

List of links to merge in

Returns

True if the graph was change, otherwise false

Applies to

Merge(IEnumerable<GraphNode>)

Merge all of the nodes from the given node list into this graph

public:
 bool Merge(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphNode ^> ^ other);

Parameters

other
IEnumerable<GraphNode>

List of nodes to merge in

Returns

True if the graph was change, otherwise false

Applies to

Merge(IEnumerable<GraphObject>)

Merge all new nodes and links from the given list of graph objects into this graph

public:
 bool Merge(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphObject ^> ^ other);

Parameters

other
IEnumerable<GraphObject>

The list of graph objects to use as a source for merging

Returns

True if the graph was changed, otherwise false

Applies to

Merge(IEnumerable<GraphConditionalStyle>)

Merge all the styles from the given list.

public:
 bool Merge(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::Styles::GraphConditionalStyle ^> ^ styles);

Parameters

styles
IEnumerable<GraphConditionalStyle>

The styles to merge into this graph

Returns

True if there were any styles to merge, false otherwise

Applies to