Northwoods.GoWPF 2.2.4 Assembly
ILinksModel Interface Members
Properties  Methods 

The following tables list the members exposed by ILinksModel.

Public Properties
 NameDescription
 PropertyLinksSource The collection of link data objects  
 PropertyValidCycle This property controls the overall graph structure that may be drawn.  
 PropertyValidUnconnectedLinks This property controls whether link data must always connect to node data at both ends of the link.  
Top
Public Methods
 NameDescription
 MethodAddLinkAdd a link data to LinksSource.  
 MethodAddLinkCopy Add a copy of a link data to this model.  
 MethodDoLinkAddedThis method should be called when a link data has been added to the LinksSource collection.  
 MethodDoLinkLabelChanged This method must be called when any "label" node is added, removed, or replaced.  
 MethodDoLinkPortsChanged This method must be called when either the "from" or the "to" node (or port) has changed.  
 MethodDoLinkRemovedThis method should be called when a link data has been removed from the LinksSource collection.  
 MethodGetCategoryForLink To help distinguish between different kinds of links, each link has a "category" that is just a string.  
 MethodGetFromLinksForNode Find all links coming into a given node.  
 MethodGetFromNodeForLink Returns the node from which a link comes.  
 MethodGetFromParameterForLink Returns any "from" port parameter information.  
 MethodGetHasLabeledLinkForNode This predicate is true if the given node data is associated with a link data as a label.  
 MethodGetHasLabelNodeForLink This predicate is true if the given link data has a node label.  
 MethodGetIsLinkLabelForNode This predicate is true if the given node data acts as a label for a link.  
 MethodGetLabeledLinkForNode Find the link data with which a label node is associated, if any.  
 MethodGetLabelNodeForLink Find the node data that is the label for a link, if there is one.  
 MethodGetLinksBetweenNodes Find all links connecting two nodes/ports in one direction.  
 MethodGetLinksForNodeOverloaded.  Find all links connected to a node in either direction.  
 MethodGetToLinksForNode Find all links going out of a given node.  
 MethodGetToNodeForLink Returns the node to which a link goes.  
 MethodGetToParameterForLink Returns any "to" port parameter information.  
 MethodIsLinkDataThis predicate is true if the linkdata is in the LinksSource collection.  
 MethodIsLinkType This predicate is true if the object is non-null and is of a type that the model accepts for link data.  
 MethodIsRelinkValid This predicate is true if changing an existing link between two nodes/ports would result in a valid graph  
 MethodRemoveLinkRemove a link data from LinksSource.  
 MethodSetLinkFromPort Set the "from" node and port information for a link data.  
 MethodSetLinkLabel Change the "label" node data for a link data.  
 MethodSetLinkToPort Set the "to" node and port information for a link data.  
Top
See Also

Reference

ILinksModel Interface
Northwoods.GoXam.Model Namespace
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback