forked from Blazor-Diagrams/Blazor.Diagrams
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from WiseTechGlobal/gna/WTGBlazorDiagram
Gna/wtg blazor diagram
- Loading branch information
Showing
414 changed files
with
20,425 additions
and
6,492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
using Blazor.Diagrams.Core.Models; | ||
|
||
namespace CustomNodesLinks.Models | ||
namespace CustomNodesLinks.Models; | ||
|
||
public sealed class DiagramLink : LinkModel | ||
{ | ||
public DiagramLink(string name, NodeModel sourceNode, NodeModel? targetNode) : | ||
base(name, sourceNode, targetNode) | ||
{ | ||
public sealed class DiagramLink : LinkModel | ||
{ | ||
public DiagramLink(string name, NodeModel sourceNode, NodeModel? targetNode) : | ||
base(name, sourceNode, targetNode) | ||
{ | ||
Name = name; | ||
Labels.Add(new DiagramLinkLabel(this, Name)); | ||
} | ||
Name = name; | ||
Labels.Add(new DiagramLinkLabel(this, Name)); | ||
} | ||
|
||
public string Name { get; set; } | ||
} | ||
public string Name { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.