Skip to content

Commit

Permalink
Readme update for DotColor
Browse files Browse the repository at this point in the history
  • Loading branch information
vfrz committed Aug 10, 2023
1 parent abe3fc0 commit 498990e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ var myNode = new DotNode()
.WithIdentifier("MyNode")
.WithShape(DotNodeShape.Ellipse)
.WithLabel("My node!")
.WithFillColor(Color.Coral)
.WithFontColor(Color.Black)
.WithFillColor(DotColor.Coral)
.WithFontColor(DotColor.Black)
.WithStyle(DotNodeStyle.Dotted)
.WithWidth(0.5)
.WithHeight(0.5)
Expand All @@ -48,8 +48,8 @@ var myEdge = new DotEdge()
.To(node2)
.WithArrowHead(DotEdgeArrowType.Box)
.WithArrowTail(DotEdgeArrowType.Diamond)
.WithColor(Color.Red)
.WithFontColor(Color.Black)
.WithColor(DotColor.Red)
.WithFontColor(DotColor.Black)
.WithLabel("My edge!")
.WithStyle(DotEdgeStyle.Dashed)
.WithPenWidth(1.5);
Expand All @@ -67,7 +67,7 @@ var mySubGraph = new DotSubGraph().WithIdentifier("cluster_0");
// Create a subgraph with attributes (only used for cluster)
var mySubGraph = new DotSubGraph()
.WithIdentifier("cluster_0")
.WithColor(Color.Red)
.WithColor(DotColor.Red)
.WithStyle(DotSubGraphStyle.Dashed)
.WithLabel("My subgraph!");

Expand Down

0 comments on commit 498990e

Please sign in to comment.