Search
CompositeRouter Class
Remarks See Also
 





Implements a chain of link routers so that a link passes through the sequence until it gets routed successfully.

Namespace: MindFusion.Diagramming
File: CompositeRouter.js

 Syntax

JavaScript  Copy Code

// class
CompositeRouter.prototype = {}

 Remarks

By default diagram's linkRouter is set to a CompositeRouter instance that chains PatternRouter and Router. You can insert additional link routers into the routers list, including custom implementations of Router if target diagram should favor some specific link paths.

 Inheritance Hierarchy

MindFusion.Diagramming.Router
    MindFusion.Diagramming.CompositeRouter

 See Also