SILICON
Loading...
Searching...
No Matches
GraphicalSubcircuitPortMetadata Struct Reference

Visual metadata for one subcircuit boundary port. More...

#include <metadata.hpp>

Public Attributes

std::string name
 Display label derived from the core boundary name.
QPoint position
 Port connection point in pixels, relative to the rectangle top-left.
unsigned int busSize = 1
 Number of wires represented by the port.
uint64_t id = 0
 Stable core boundary identity, independent of the display label.

Detailed Description

Visual metadata for one subcircuit boundary port.

Positions are runtime scene pixels relative to the top-left of the subcircuit rectangle. The JSON representation stores the same values in grid units.

Definition at line 56 of file metadata.hpp.

Member Data Documentation

◆ busSize

unsigned int busSize = 1

Number of wires represented by the port.

Definition at line 62 of file metadata.hpp.

◆ id

uint64_t id = 0

Stable core boundary identity, independent of the display label.

Definition at line 64 of file metadata.hpp.

◆ name

std::string name

Display label derived from the core boundary name.

Definition at line 58 of file metadata.hpp.

◆ position

QPoint position

Port connection point in pixels, relative to the rectangle top-left.

Definition at line 60 of file metadata.hpp.


The documentation for this struct was generated from the following file: