-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement IGNORE_INVISIBLE_LAYOUT Zest Style for Zest 2.0
With this change, invisible graph nodes and connections are ignored within the LayoutContext and therefore within the layout algorithms. Note that as part of this change, the Zest styles are no longer set inside the Graph constructor, but via a separate setGraphStyle() method. This is because the constructor styles are also used for creating the underlying FigureCanvas, which would otherwise throw an exception due to the unsupported styles. While it technically breaks compatibility, it is practically impossible to have used those styles up until now. Fixes #608
- Loading branch information
Showing
6 changed files
with
107 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<component id="org.eclipse.zest.tests" version="2"> | ||
<resource path="src/org/eclipse/zest/tests/GraphTests.java" type="org.eclipse.zest.tests.GraphTests"> | ||
<filter id="640712815"> | ||
<message_arguments> | ||
<message_argument value="Graph"/> | ||
<message_argument value="GraphTests"/> | ||
<message_argument value="getLayoutContext()"/> | ||
</message_arguments> | ||
</filter> | ||
</resource> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters