Class Index | File Index

Classes


Class links.Network.Groups

Groups This class can store groups and properties specific for groups.
Defined in: network.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
links.Network.Groups.DEFAULT
default constants for group colors
Method Summary
Method Attributes Method Name and Description
 
add(groupname, style)
Add a custom group style
 
Clear all groups
 
get(groupname)
get group properties of a groupname.
Class Detail
links.Network.Groups()
Field Detail
<static> links.Network.Groups.DEFAULT
default constants for group colors
Method Detail
{Object} add(groupname, style)
Add a custom group style
Parameters:
{String} groupname
{Object} style
An object containing borderColor, backgroundColor, etc.
Returns:
{Object} group The created group object

clear()
Clear all groups

{Object} get(groupname)
get group properties of a groupname. If groupname is not found, a new group is added.
Parameters:
{*} groupname
Can be a number, string, Date, etc.
Returns:
{Object} group The created group, containing all group properties

Documentation generated by JsDoc Toolkit 2.3.2 on Fri Apr 26 2013 14:32:41 GMT+0200 (CEST)