dot-createAttributeAspect: Create a default *AttributeAspect

Description Usage Arguments Value Note See Also Examples

Description

Some aspects like NodeAttributesAspect or EdgeAttributesAspect use a key-value scheme. This function helps in constructing while avoiding repetition.

Usage

1
2
3
4
5
6
7
8
9
.createAttributeAspect(
  propertyOf,
  name,
  value,
  dataType,
  isList,
  subnetworkId = NULL,
  .log = ""
)

Arguments

propertyOf

integer; refers to the IDs of an other aspect

name

character; key of the attribute

value

character; value of the attribute

dataType

character (optional);

isList

logical (optional);

subnetworkId

integer (optional); CySubNetworks

Value

*AttributeAspect prototype object

Note

Internal function only for convenience

See Also

.mergeIdAspect, .mergeAttributesAspect, CySubNetworks

Examples

1

frankkramer-lab/RCX documentation built on Oct. 26, 2021, 1:33 a.m.