Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VisualizeCmd = &cobra.Command{ Use: "visualize", Short: "Visualize an access graph for network mapper intents using go-graphviz", Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { intents, err := mappershared.QueryIntents() if err != nil { return err } visualizer, err := intentsvisualizer.NewVisualizer() if err != nil { return err } defer visualizer.Close() if err := visualizer.Build(intents); err != nil { return err } if err := visualizer.RenderOutputToFile(); err != nil { return err } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.