AttributeSpecUsed to define attributes on nodes or marks. interface AttributeSpec {default?: any;}§Properties§default?: any[src]The default value for this attribute, to use when no explicit value is provided. Attributes that have no default must be provided whenever a node or mark of a type that has them is created.