preprocess

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EraseNodesWithRemoverColor

func EraseNodesWithRemoverColor(graph *models.Graph)

EraseNodesWithRemoverColor is function for drop '@color remover' functions from a call graph.

To perform calculating NextWithColors and checking color rules from the palette, we need to drop '@color remover' functions from a call graph completely, like they don't exist at all, this special color is for manual cutting connectivity rules, allowing to explicitly separate recursively-joint components

func FunctionsToNodes

func FunctionsToNodes(funcs *symbols.Functions, db *models.Database) models.Nodes

FunctionsToNodes is a function that converts passed functions into a set of nodes that represent those functions.

func NodesToGraphs

func NodesToGraphs(nodes models.Nodes) []*models.Graph

NodesToGraphs splits the graph into connectivity components.

Graphs from one node are skipped.

func Run

Types

This section is empty.

Jump to

Keyboard shortcuts

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