Class: GraphElement

Kekule. GraphElement

new GraphElement()

A class to represent an abstract graph child (vertex or edge).
Source:

Extends

  • ObjectEx

Methods

getData(keyName) → {Variant}

Returns stored data value. If key name not set, a hash of al data will be returned.
Parameters:
Name Type Description
keyName String
Source:
Returns:
Type
Variant

removeData(keyName)

Remove a stored data item.
Parameters:
Name Type Description
keyName String
Source:

setData(keyName, value)

Store a key-value pair in data.
Parameters:
Name Type Description
keyName String
value Variant
Source:

Kekule. GraphElement

new GraphElement()

Source:

Methods

getData(keyName) → {Variant}

Returns stored data value. If key name not set, a hash of al data will be returned.
Parameters:
Name Type Description
keyName String
Source:
Returns:
Type
Variant

removeData(keyName)

Remove a stored data item.
Parameters:
Name Type Description
keyName String
Source:

setData(keyName, value)

Store a key-value pair in data.
Parameters:
Name Type Description
keyName String
value Variant
Source: