| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| * Copyright (c) 2020, Regents of the University of California |
| * BSD license, See the LICENSE file for more information |
| * Author: Yingdi Yu <yingdi@cs.ucla.edu> |
| #ifndef CHRONOCHAT_TRUST_TREE_SCENE_HPP |
| #define CHRONOCHAT_TRUST_TREE_SCENE_HPP |
| #include "trust-tree-node.hpp" |
| #include "tree-layout.hpp" |
| #include <QGraphicsScene> |
| class TrustTreeScene : public QGraphicsScene |
| TrustTreeScene(QObject* parent = 0); |
| plotTrustTree(chronochat::TrustTreeNodeList& nodeList); |
| plotEdge(const chronochat::TrustTreeNodeList& nodeList, int nodeSize); |
| plotNode(const chronochat::TrustTreeNodeList& nodeList, int nodeSize); |
| } // namespace chronochat |
| #endif // CHRONOCHAT_TRUST_TREE_SCENE_HPP |