Module: VisualizePackwerk::GraphInterface

Extended by:
T::Helpers, T::Sig
Included in:
PackageGraph, TeamGraph
Defined in:
lib/visualize_packwerk/graph_interface.rb

Overview

This stores graphviz-independent views of our package graph. It should be optimized for fast lookup (leveraging internal indexes, which are stable due to the immutability of the package nodes) A ‘TeamGraph` should be able to consume this and basically just create a reduced version Lastly, each one should implement a common interface, and graphviz should use that interface and take in either types of graph via the interface

Instance Method Summary collapse

Instance Method Details

#nodesObject



14
15
# File 'lib/visualize_packwerk/graph_interface.rb', line 14

def nodes
end