Environment Elements
Organizational and spatial entities that describe where and in what context production takes place. Environment elements form a hierarchy from holding to workplace and define the enterprise structure on the canvas.
Purpose
Process elements describe what is produced and how.
Environment elements describe where, by whom, and under what conditions.
Each environment element:
- Acts as a container on the canvas β can hold child environment elements
- Is automatically linked to a resource of the matching type (workplace, area, warehouse, etc.)
- Supports a multiplier, comment, alias, and result display
- Participates in the undo/redo system through commands
Environment elements do not affect time calculation directly. They define the organizational context in which operations are performed and are essential for logistics modeling, capacity planning, and resource allocation.
Element Types
MPTS includes nine environment element types, ordered from the highest to the lowest level:
- Holding β a group of companies under unified management
- Company β a legal entity or business unit
- Factory β a manufacturing facility
- Office β an administrative division
- Production β a production shop or building
- Logistics β a division responsible for material and product movement
- Area β a group of workplaces united by technology
- Warehouse β a storage location for materials, work-in-progress, or finished goods
- Workplace β a specific position where an operation is performed
Drag an element from the Environment panel onto the canvas. To nest, place one element on the right edge of another β if nesting is allowed, a capture indicator will appear.
Nesting Hierarchy
Each element type accepts a strictly defined set of child types. This constraint ensures the correctness of the organizational model.
Holding
Accepts: Company, Office, Logistics
Company
Accepts: Office, Factory, Warehouse, Production, Logistics
Factory
Accepts: Production, Warehouse
Production
Accepts: Area, Workplace, Warehouse, Logistics
Logistics
Accepts: Warehouse, Office, Area, Workplace
Area
Accepts: Workplace, Warehouse
Office
Accepts: Warehouse, Workplace
Warehouse
Accepts: Workplace
Workplace
Accepts: Warehouse
Nesting outside of allowed combinations is ignored. The system does not allow hierarchy violations β for example, placing a factory inside an area.
Creation and Placement
An element is created by dragging it from the toolbar panel onto the canvas. At the moment of creation:
- A resource of the corresponding type is automatically created and linked
- The element receives a color coding based on its type
The element is immediately ready for nesting, commenting, and property configuration.
Nesting Elements
Nesting is performed by dragging a guest element to the right edge of a host:
- Capture β the guest element is brought to the right edge of the host. An indicator (red dot) signals readiness for attachment
- Insert β the guest element is brought to the center of an existing child element. An indicator (green line) shows the insertion point between elements
Nested elements are displayed in a vertical column to the right of the host, framed by a dashed border. The group of nested elements can be moved as a whole.
The connection line between the host and the group supports two styles: center and perpendicular. The style is toggled through contextual interaction with the line.
Resource Binding
When an environment element is created, a resource of the corresponding type is automatically created:
- Workplace β resource with shift schedule (MondayβFriday by default)
- Area β resource with a list of workplaces
- Production β resource with lists of areas and staff
- Warehouse β resource with staff
- Logistics β resource with staff
- Factory β resource with lists of productions and warehouses
- Office β resource with staff
- Company β resource with factories, offices, and budget
- Holding β resource with a list of companies
The element-to-resource relationship is one-to-one. The resource is accessible through the properties panel and is saved with the document.
Properties
Each environment element has:
- Type β one of nine environment types
- Multiplier β a numeric multiplier (default 1)
- Part number β designation
- Code β internal code
- Nested elements β list of child environment elements
Visual Representation
Each type has a unique color scheme on the canvas:
- Workplace β green background, green border
- Company β yellow background, yellow border
- Holding β gray background, dark green border
- Other types β light gray background, gray-blue border
When selected, the element background changes to a more saturated color and the text turns white.
The element name is displayed inside a rectangle. By default, it uses the localized type name (depends on the current interface language). When an alias is enabled, the custom name is displayed instead.
Key Rule
Environment elements describe the enterprise structure, not the production process.
The process (product β operation β step β action β microelement) answers the question "what and how is produced."
The environment (holding β company β factory β production β area β workplace) answers the question "where and by whom it is done."
These two hierarchies are linked through operation-to-workplace binding β an operation is performed at a specific workplace that exists within the organizational structure.