// Whether the first element is a non-loop edge
ele.isSimple(): booleanWhether the first element is a non-loop edge.
Returns
booleantrue for an edge between two distinct nodes
eles.isSimple — Collection > Metadata and identity. Cytoscape.js signatures, parameters and return contract.
eles.isSimple — Collection › Metadata and identity
Preview · Collection › Metadata and identity
Read in the complete API reference · All API members
// Whether the first element is a non-loop edge
ele.isSimple(): booleanWhether the first element is a non-loop edge.
booleantrue for an edge between two distinct nodes