ui: Hide nodes and edges from graph via context menu action or Alt + Click (issue #472)
* show all context menu actions, but disable unavailable * added hide action to undo redo stack
This commit is contained in:
@@ -59,6 +59,9 @@ public:
|
||||
TrailMode getTrailMode() const;
|
||||
void setTrailMode(TrailMode trailMode);
|
||||
|
||||
bool hasTrailOrigin() const;
|
||||
void setHasTrailOrigin(bool hasOrigin);
|
||||
|
||||
void print(std::ostream& ostream) const;
|
||||
void printBasic(std::ostream& ostream) const;
|
||||
|
||||
@@ -72,6 +75,7 @@ private:
|
||||
std::map<Id, std::shared_ptr<Edge>> m_edges;
|
||||
|
||||
TrailMode m_trailMode;
|
||||
bool m_hasTrailOrigin;
|
||||
};
|
||||
|
||||
std::ostream& operator<<(std::ostream& ostream, const Graph& graph);
|
||||
|
||||
Reference in New Issue
Block a user