logic: Group nodes in inheritance graph who have the same base and derived nodes (issue #459)

* added graph node for grouping nodes with separate sub-layout
* group nodes show name in top left corner
* clicking on single edge activates source locations of all edges
* removed separate setters for token components
* fixed text nodes missing or too many in list layout
* moved simple row and column layouts to ListLayouter
* added skewed layout type to ListLayouter

fortune cookie message = Sometimes you should have the courage and risk something.
This commit is contained in:
Eberhard Graether
2018-03-26 23:57:05 +02:00
parent f93638bcd1
commit bbd003f047
31 changed files with 770 additions and 273 deletions
@@ -13,9 +13,10 @@ class MessageActivateTrailEdge
{
public:
MessageActivateTrailEdge(
Id tokenId, Edge::EdgeType type, const NameHierarchy& sourceNameHierarchy, const NameHierarchy& targetNameHierarchy
const std::vector<Id>& edgeIds, Edge::EdgeType type,
const NameHierarchy& sourceNameHierarchy, const NameHierarchy& targetNameHierarchy
)
: tokenId(tokenId)
: edgeIds(edgeIds)
, type(type)
, sourceNameHierarchy(sourceNameHierarchy)
, targetNameHierarchy(targetNameHierarchy)
@@ -37,10 +38,14 @@ public:
virtual void print(std::wostream& os) const
{
os << tokenId << L" - " << getFullName();
for (Id edgeId : edgeIds)
{
os << edgeId << L",";
}
os << L" - " << getFullName();
}
const Id tokenId;
const std::vector<Id> edgeIds;
const Edge::EdgeType type;
const NameHierarchy sourceNameHierarchy;
const NameHierarchy targetNameHierarchy;
@@ -10,6 +10,7 @@ public:
MessageTooltipHide()
{
setSendAsTask(false);
setIsLogged(false);
}
static const std::string getStaticType()