Added layout hints config option to package diagrams
This commit is contained in:
@@ -409,6 +409,8 @@ template <> struct convert<package_diagram> {
|
||||
if (!decode_diagram(node, rhs))
|
||||
return false;
|
||||
|
||||
get_option(node, rhs.layout);
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -135,6 +135,8 @@ struct package_diagram : public diagram {
|
||||
virtual ~package_diagram() = default;
|
||||
|
||||
diagram_type type() const override;
|
||||
|
||||
option<layout_hints> layout{"layout"};
|
||||
};
|
||||
|
||||
struct config : public inheritable_diagram_options {
|
||||
|
||||
Reference in New Issue
Block a user