This function returns the number of elements in an aspect.
1 2 3 4 5 6 7 8 9 10 11 12 13
an object of one of the aspect classes (e.g.
Uses method dispatch, so the default methods already returns the correct number for the most aspect classes. This way it is easier to extend the data model.
There are only two exceptions in the core and Cytoscape aspects:
Meta-data is a meta-aspect and therefore not included in
Meta-data, and so its return is
CyVisualProperties is the only aspect with a complex data structure beneath.
Therefore its number of elements is just the number of how many of the following properties are set:
integer; number of elements. For RCX objects all counts are returned in the vector named by the aspect class.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.