# BlockLayoutEdge

Describes a link between two block layout items.

 Class  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX`

**Source**

[BlockLayoutBlock.Hierarchy.cs:87](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.Hierarchy.cs#L87)

**Modifiers**

sealed

Describes a link between two block layout items.

## Inheritance

- object
- BlockLayoutEdge

## Usage

 Explore 1 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [BlockLayoutBlock.Edges](/api/chartforgex-visualblocks-blocklayoutblock/#property-edges)

 Filter members   

    Show inherited   

 

## Constructors

 `public BlockLayoutEdge(string sourceId, string targetId, string label = "", bool directed = true)` [#](#constructor-ctor-string-string-string-boolean) 

[BlockLayoutBlock.Hierarchy.cs:87](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.Hierarchy.cs#L87)

Initializes a block layout edge.

Parameters

**sourceId string required**

**targetId string required**

**label string = "" optional**

**directed bool = true optional**

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string SourceId { get; set; }` [#](#property-sourceid) 

[BlockLayoutBlock.cs:115](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L115)

Gets or sets the source item id.

 `public string TargetId { get; set; }` [#](#property-targetid) 

[BlockLayoutBlock.cs:118](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L118)

Gets or sets the target item id.

 `public string Label { get; set; }` [#](#property-label) 

[BlockLayoutBlock.cs:121](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L121)

Gets or sets the optional edge label.

 `public bool Directed { get; set; }` [#](#property-directed) 

[BlockLayoutBlock.cs:124](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.cs#L124)

Gets or sets whether the edge is directed.

 `public bool Visible { get; set; }` [#](#property-visible) 

[BlockLayoutBlock.Hierarchy.cs:87](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.Hierarchy.cs#L87)

Gets or sets whether this source edge is painted. A hidden link retains its source identity and does not add a fake line.

 `public ChartStrokeStyle? Stroke { get; set; }` [#](#property-stroke) 

[BlockLayoutBlock.Hierarchy.cs:89](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/BlockLayoutBlock.Hierarchy.cs#L89)

Gets or sets immutable connector outline overrides. Null retains the incumbent axis paint.

<!-- PowerForge markdown artifact sha256:12EA82F977AD757F785CE56A1F4760B2E4D6DEFE9E45361FA667D1FD1313C08B -->
