width/height

Description

This function returns the width or the height of a given node. This width / height parameter is useful for computing the position of nodes in the Network view. It uses the same unit system as the coordX() and coordY() functions.

Syntax

node.width( nodeName );

node.height( nodeName )

Arguments

nodeName: A full path name of a node.

Related Topics 

Node