#pragma once #include #include "dag_present.h" #include "xast_parse.h" class StoryPresent : public QMainWindow { Q_OBJECT public: StoryPresent(QWidget* parent = nullptr); ~StoryPresent(); void loadXAST(const QString &ast_path); private: double _scale_value = 1; dags::DAGActiveView *const _story_present; QHash> _story_graph; void nodeClickAccept(const QPointF &pos, const QString &node_name); void bigger(); void lesser(); void forwardLayout(); void backwardLayout(); void adjustLayout(); };