Skip to content

netlist_carpentry.core.graph

Graph-related functionality and util methods.

Modules:

  • constraint

    Module for constraints that need to be satisfied by a possible matching subgraph.

  • match

    Wrapper module to handle found pattern occurrences in a circuit graph.

  • module_graph

    Wrapper module for networkx.MultiDiGraph, with customizations specifically for using the MultiDiGraph class for module graphs in digital circuits.

  • pattern

    Module for graph pattern handling, used to find and/or replace patterns within a circuit.

  • pattern_generator

    Generator module used to create pattern objects from given HDL code, circuits, or JSON netlists.

  • visualization

    A package for handling different kinds of graph visualization, from static representations (e.g. plots) to dynamic, interactive widgets/web representations.