21 #ifndef _Tulip_NODELINKDIAGRAMCOMPONENT_H
22 #define _Tulip_NODELINKDIAGRAMCOMPONENT_H
24 #include <tulip/GlMainView.h>
25 #include <tulip/GlCompositeHierarchyManager.h>
36 QDialog* _gridOptions;
37 GlCompositeHierarchyManager* manager;
43 void registerTriggers();
47 "The Node Link Diagram view is the standard representation of relational data, where entities are represented as nodes, and their relation as edges."
48 "This view allows you to change the glyph used to represent nodes (e.g. square, round, donut), as well as the shape of the arrows indicating the direction of the relationship.",
51 NodeLinkDiagramComponent(const tlp::PluginContext* context = NULL);
53 void setState(const tlp::DataSet &);
54 tlp::DataSet state() const;
58 void requestChangeGraph(Graph *graph);
61 void addRemoveItemToSelection();
66 void setZOrdering(
bool);
67 void showGridControl();
68 void fillContextMenu(QMenu *menu,const QPointF &point);
71 void graphChanged(tlp::Graph *);
73 void createScene(Graph *graph,DataSet dataSet);
74 DataSet sceneData() const;
75 void loadGraphOnScene(Graph *graph);
76 void useHulls(
bool hasHulls);
77 bool hasHulls() const;