Code Documentation 3.7
Social Network Visualizer
Loading...
Searching...
No Matches
EdgeVisibilityChange Class Reference

One edge's visibility change, batched with others in signalSetEdgesVisibilityBatch (WS3 M2) so a bulk operation (e.g. a relation switch touching every edge) crosses from graphThread to the GUI thread as a single queued dispatch instead of one per edge. More...

#include <global.h>

Public Member Functions

 EdgeVisibilityChange ()=default
 EdgeVisibilityChange (const int &rel, const int &src, const int &tgt, const bool &vis, const bool &preserveReverse=false, const int &weight=1, const int &reverseWeight=1)

Public Attributes

int relation = 0
int source = 0
int target = 0
bool visible = false
bool preserveReverseEdge = false
int edgeWeight = 1
int reverseEdgeWeight = 1

Detailed Description

One edge's visibility change, batched with others in signalSetEdgesVisibilityBatch (WS3 M2) so a bulk operation (e.g. a relation switch touching every edge) crosses from graphThread to the GUI thread as a single queued dispatch instead of one per edge.

Mirrors the parameters of Graph::signalSetEdgeVisibility / GraphicsWidget::setEdgeVisibility.

Constructor & Destructor Documentation

◆ EdgeVisibilityChange() [1/2]

EdgeVisibilityChange::EdgeVisibilityChange ( )
default

◆ EdgeVisibilityChange() [2/2]

EdgeVisibilityChange::EdgeVisibilityChange ( const int & rel,
const int & src,
const int & tgt,
const bool & vis,
const bool & preserveReverse = false,
const int & weight = 1,
const int & reverseWeight = 1 )
inline

Member Data Documentation

◆ edgeWeight

int EdgeVisibilityChange::edgeWeight = 1

◆ preserveReverseEdge

bool EdgeVisibilityChange::preserveReverseEdge = false

◆ relation

int EdgeVisibilityChange::relation = 0

◆ reverseEdgeWeight

int EdgeVisibilityChange::reverseEdgeWeight = 1

◆ source

int EdgeVisibilityChange::source = 0

◆ target

int EdgeVisibilityChange::target = 0

◆ visible

bool EdgeVisibilityChange::visible = false

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