SchematicEdgeData class

Data for a schematic edge (wire/connection).

Constructors

SchematicEdgeData({required String id, required List<SchematicPoint> points, String? source, String? sourcePort, String? target, String? targetPort, List<SchematicPoint>? junctionPoints, List<SchematicPoint>? dots, String name = '', String? parentId, String parentName = '', String cssClass = '', int signalWidth = 1, String? scopeHierarchyPath, List<int>? addr})
Create a new SchematicEdgeData.
SchematicEdgeData.fromJson(Map<String, dynamic> json)
Create a new SchematicEdgeData from JSON data.
factory

Properties

addr List<int>?
Hierarchy address for this signal (from rohd_hierarchy).
final
cssClass String
CSS class(es) for styling (carries over from original schematic format).
final
dots List<SchematicPoint>?
Optional list of drawable dots (connection points) along the wire path.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for this edge within the schematic.
final
junctionPoints List<SchematicPoint>?
Optional list of junction points where multiple wires intersect or connect.
final
name String
Display name/label for this edge (e.g., signal or net name).
final
parentId String?
ID of parent hyper-edge (for grouping related edges into a single logical signal).
final
parentName String
Name of parent hyper-edge (for grouping related edges into a single logical signal).
final
points List<SchematicPoint>
Ordered list of 2D points defining the wire path through the schematic (polyline routing).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopeHierarchyPath String?
Full hierarchy path of the scope (parent node) that owns this edge.
final
signalWidth int
SignalOccurrence bit-width (e.g. 8 for an 8-bit bus). 1 = single bit wire.
final
source String?
ID of the source instance that this edge originates from; null if unconnected.
final
sourcePort String?
ID of the source port on the source instance; null if edge is not port-to-port.
final
target String?
ID of the target instance that this edge connects to; null if unconnected.
final
targetPort String?
ID of the target port on the target instance; null if edge is not port-to-port.
final
wireId String
Get the wire identifier for grouping - uses parentName, then parentId, then name, then id
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited