Power System Platform  2024w23a
Loading...
Searching...
No Matches
GraphAutoLayout Class Reference

Classes

struct  GraphLayoutEdge
 
struct  GraphLayoutNode
 

Public Member Functions

 GraphAutoLayout (std::vector< ParseMatpower::BusData * > busData, std::vector< ParseMatpower::BranchData * > branchData)
 
void CalculatePositions (int iterations, double scale)
 

Protected Member Functions

void AddLink (size_t index1, size_t index2, float weight=1.f)
 
void Compute (size_t iterations)
 

Protected Attributes

std::vector< GraphLayoutNodem_nodes
 
std::vector< GraphLayoutEdgem_edges
 
std::vector< ParseMatpower::BusData * > m_busData
 
std::vector< ParseMatpower::BranchData * > m_branchData
 

The documentation for this class was generated from the following files: