21 #ifndef CONNECTED_COMPONENTS_H 22 #define CONNECTED_COMPONENTS_H 23 #include "libcola/cola.h" 32 std::vector<unsigned> node_ids;
33 std::vector<vpsc::Rectangle*> rects;
34 std::vector<cola::Edge> edges;
37 void moveRectangles(
double x,
double y);
41 void connectedComponents(
42 const std::vector<vpsc::Rectangle*> &rs,
43 const std::vector<cola::Edge> &es,
46 std::vector<Component*> &components);
50 void separateComponents(
const std::vector<Component*> &components);
54 #endif // CONNECTED_COMPONENTS_H A rectangle represents a fixed-size shape in the diagram that may be moved to prevent overlaps and sa...
Definition: rectangle.h:78
libcola: Force-directed network layout subject to separation constraints library. ...
Definition: box.cpp:25