Skip to content

Commit

Permalink
Add relationship attribute color for NetworkPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
steveteuber committed Sep 8, 2020
1 parent 821f658 commit e7d2f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/graph/networking.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (g *NetworkingV1Graph) NetworkPolicy(obj *v1.NetworkPolicy) (*Node, error)
if err != nil {
return nil, err
}
g.graph.Relationship(n, "Pod", p)
g.graph.Relationship(n, "Pod", p).Attribute("color", "#9E9E9E")
}

return n, nil
Expand Down

0 comments on commit e7d2f2f

Please sign in to comment.