edit

package
v0.0.0-...-fceed96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package edit implements different arch graph utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComponentsWithClass

func ComponentsWithClass(graph *arch.World, classes []string) []*arch.Component

ComponentsWithClass returns list of components with the class.

func KeepComponents

func KeepComponents(world *arch.World, components []*arch.Component)

KeepComponents only keeps the specified components in world.

func KeepRoots

func KeepRoots(world *arch.World, roots []string)

KeepRoots keeps any component that is a dependency to root.

func RemoveClasses

func RemoveClasses(graph *arch.World, classes []string)

RemoveClasses removes any components that has class in the specified list.

func Roots

func Roots(world *arch.World) []*arch.Component

Roots returns components without incoming links.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL