lint try
Signed-off-by: Mayank Mohapatra <125661248+Mayank77maruti@users.noreply.github.com>
This commit is contained in:
parent
7cd533d6c0
commit
5b28501fd9
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ const (
|
||||||
ARC_STEPS = 100
|
ARC_STEPS = 100
|
||||||
)
|
)
|
||||||
|
|
||||||
// Layout lays out the graph and computes curved edge routes.
|
// Layout lays out the graph and computes curved edge routes
|
||||||
func Layout(ctx context.Context, g *d2graph.Graph, layout d2graph.LayoutGraph) error {
|
func Layout(ctx context.Context, g *d2graph.Graph, layout d2graph.LayoutGraph) error {
|
||||||
objects := g.Root.ChildrenArray
|
objects := g.Root.ChildrenArray
|
||||||
if len(objects) == 0 {
|
if len(objects) == 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue