If they are not set, fCoSE uses default options. Packing related options should be set via cytoscape-layout-utilities extension. To be able to use packComponents option, cytoscape-layout-utilities extension should also be registered in the application. For example, in order to position node n1 to (x: 100, y: 200) and node n2 to (x: 200, y: -300) as a result of the layout, fixedNodeConstraint option should be set as follows: Supported constraint types are:įixed node constraint: The user may provide exact desired positions for a set of nodes called fixed nodes. These constraints may be defined for simple nodes. cytoscape-layout-utilities.js (optional for packing disconnected components) ^1.0.0įCoSE supports user-defined placement constraints as well as its full support for compound graphs.Demir, “ A Layout Algorithm For Undirected Compound Graphs”, Information Sciences, 179, pp. Dogrusoz, “ fCoSE: A Fast Compound Graph Layout Algorithm with Constraint Support,” in IEEE Transactions on Visualization and Computer Graphics, 28(12), pp. Please cite the following when you use this layout: Constraints can also be added incrementally on a given layout. You can see constraint support in action in the following videos: fixed node, alignment, relative placement, hybrid, real life graphs. fCoSE runs up to 2 times as fast as CoSE while achieving similar aesthetics.įurthermore, fCoSE also supports a fairly rich set of constraint types (i.e., fixed position, vertical/horizontal alignment and relative placement). Here are some demos: simple, compound, and constraints, respectively:įCoSE layout algorithm combines the speed of spectral layout with the aesthetics of force-directed layout. “f-cosay”, fast Compound Spring Embedder), is a faster version of our earlier compound spring embedder algorithm named CoSE, implemented as a Cytoscape.js extension by i-Vis Lab in Bilkent University. Cytoscape.js-fcose cytoscape-fcose DescriptionįCoSE (pron.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |