Interface
IObservableGraphSource

Represents an observable graph source.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public interface IObservableGraphSource : IGraphSource

Inherited Members IGraphSource.LinksIGraphSource.Items

Methods

Adds a link in the Links collection.

Declaration

cs-api-definition
void AddLink(ILink link)

Parameters

link

ILink

The link.

AddNode(object)

Adds a node in the Items collection.

Declaration

cs-api-definition
void AddNode(object node)

Parameters

node

object

The node.

Creates a link based on the associated source and target nodes.

Declaration

cs-api-definition
ILink CreateLink(object source, object target)

Parameters

source

object

The source node.

target

object

The target node.

Returns

ILink

Returns the created link.

CreateNode(IShape)

Creates a node based on an associated shape.

Declaration

cs-api-definition
object CreateNode(IShape shape)

Parameters

shape

IShape

The associated shape.

Returns

object

Returns the created node.

Removes a link from the Links collection.

Declaration

cs-api-definition
bool RemoveLink(ILink link)

Parameters

link

ILink

The link.

Returns

bool

RemoveNode(object)

Removes a node from the Items collection.

Declaration

cs-api-definition
bool RemoveNode(object node)

Parameters

node

object

The node.

Returns

bool