Open meganindya opened 1 week ago
I've compiled the properties for each brick type based on the configuration you provided. I’ve organized them into common and unique properties under each category.
Common Properties (Across All Brick Types):
Unique Properties:
BrickBlock
BrickData
BrickExpression
BrickStatement
Common Properties (Across All Brick Types):
Unique Properties:
BrickBlock
BrickExpression
Common Properties (Across All Brick Types):
Common Connection Points (Across All Brick Types):
Unique Properties:
BrickBlock
BrickData
BrickExpression
BrickStatement
I will proceed with integrating these properties into the respective classes and updating the factory and warehouse modules accordingly.
Let me know if there are any changes you'd like to see or if anything else needs to be addressed.
BrickModel
(Base Class)Common Properties:
id
: UUIDname
: Namelabel
: Display labelglyph
: Icon/symbolcolorBg
: Background colorcolorFg
: Foreground colorcolorBgHighlight
: Highlight background color (new)colorFgHighlight
: Highlight foreground color (new)outline
: Outline colorCommon State Properties:
highlighted
: Booleanscale
: Scaling factorCommon Output Properties:
boundingBox
: Bounding boxconnectionPoints
: Connection pointsBrickModelArgument
Unique Properties:
dataType
: Type of argument (e.g., boolean, number, string, options)State Properties:
argExtents
: Map with argLengthX
(optional) and argLengthY
BrickModelInstruction
Unique Properties:
args
: Arguments with labels and data typesconnectAbove
: Connection aboveconnectBelow
: Connection belowState Properties:
argExtents
: Map with argLengthX
(optional) and argLengthY
BrickModelData
dynamic
: Indicates if data is dynamicinput
: Type of input (e.g., boolean, number, string, options)BrickModelExpression
Unique Properties:
args
: Arguments with labels and data typesState Properties:
argExtents
: Map with argLengthX
(optional) and argLengthY
BrickModelStatement
args
: Arguments with labels and data typesconnectAbove
: Connection aboveconnectBelow
: Connection belowBrickModelBlock
Unique Properties:
args
: Arguments with labels, data types, and enums for argId
, argLabel
, argTypeIncoming
connectAbove
: Connection aboveconnectBelow
: Connection belownestExtent
: Nest extent for the blockcollapsed
: Indicates if the block is collapsedState Properties:
argExtents
: Map with argLengthX
(optional) and argLengthY
folded
: Indicates if the block is folded
Brick
Config
Code
Notes