mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 06:31:20 -04:00
compatible to g++11 / QT5
method suggested by cyril
This commit is contained in:
parent
5783c59463
commit
aca88308ea
9 changed files with 27 additions and 11 deletions
|
@ -87,6 +87,12 @@ Node::Node(const std::string& node_string,GraphWidget::NodeType type,GraphWidget
|
|||
_auth = GraphWidget::ELASTIC_NODE_AUTH_FULL ;
|
||||
}
|
||||
|
||||
const float Node::MASS_FACTOR = 10 ;
|
||||
const float Node::FRICTION_FACTOR = 10.8f ;
|
||||
const float Node::REPULSION_FACTOR = 4;
|
||||
const float Node::NODE_DISTANCE = 130.0f ;
|
||||
|
||||
|
||||
void Node::addEdge(Edge *edge)
|
||||
{
|
||||
edgeList << edge;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue