Class BridgeManager
Bridge Manager that use to generate segment bridges for intersected nodes in model.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class BridgeManager : Service
Remarks
Collect the nodes and recreate segment bridges to it new intersection.
Constructors
BridgeManager(Model)
Initializes a new instance of the BridgeManager class.
Declaration
public BridgeManager(Model model)
Parameters
Type | Name | Description |
---|---|---|
Model | model | The model. |
Properties
Connectors
Gets the connectors.
Declaration
protected ArrayList Connectors { get; }
Property Value
Type | Description |
---|---|
System.Collections.ArrayList | The connectors. |
Generating
Gets a value indicating whether this BridgeManager is generating.
Declaration
public bool Generating { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Model
Gets or sets the model.
Declaration
protected Model Model { get; set; }
Property Value
Type | Description |
---|---|
Model | The model. |
Methods
AddToIntersectCollection(ConnectorBase)
Manually checks connectors intersection.
Declaration
public void AddToIntersectCollection(ConnectorBase connectorBase)
Parameters
Type | Name | Description |
---|---|---|
ConnectorBase | connectorBase | The connector base. |
BeginUpdateIntersection()
Start of batch operation.
Declaration
public void BeginUpdateIntersection()
EndUpdateIntersection()
End of batch operation..
Declaration
public void EndUpdateIntersection()
GetAllConnectors(ICompositeNode)
Gets all connectors from composite nodes.
Declaration
protected NodeCollection GetAllConnectors(ICompositeNode composite)
Parameters
Type | Name | Description |
---|---|---|
ICompositeNode | composite | The composite. |
Returns
Type | Description |
---|---|
NodeCollection | The connectors from composite node. |
OnBridgeGenerationCompleted()
Called when bridge generation is completed.
Declaration
protected virtual void OnBridgeGenerationCompleted()
OnBridgeGenerationStarted()
Called when bridge generation is started.
Declaration
protected virtual void OnBridgeGenerationStarted()
OnStop()
Called when service is stoped.
Declaration
protected override void OnStop()
Overrides
Events
BridgeGenerationCompleted
Occurs when bridge generation is completed.
Declaration
public event EventHandler BridgeGenerationCompleted
Event Type
Type |
---|
System.EventHandler |
BridgeGenerationStarted
Occurs when bridge generation is started.
Declaration
public event EventHandler BridgeGenerationStarted
Event Type
Type |
---|
System.EventHandler |