Skip to content

Dependency graph tester UI#16

Open
intranetmouse wants to merge 4 commits intoIntelliware:mainfrom
intranetmouse:chris/dep_graph_tester_ui
Open

Dependency graph tester UI#16
intranetmouse wants to merge 4 commits intoIntelliware:mainfrom
intranetmouse:chris/dep_graph_tester_ui

Conversation

@intranetmouse
Copy link

@intranetmouse intranetmouse commented Mar 4, 2026

An unsolicited pull request. I noticed there was no user interface portion to the dependencies, per se, so I thought I would whip up one for the tests in dependency-root src/test/java/com.electricmind.dependency.graph.shape as a proof of concept. See DependencyGraphTesterUi.main in that package.

You can click on the tests to the left, and they are displayed in the area on the right. I haven't chased down what is going on, but sometimes the layout changes briefly right as you select one of the tests. Here's what it looks like:

image

The major changes were:

  • Made all of the graphing tests in src/test/java/com.electricmind.dependency.graph.shape extend a new abstract class DependencyGraphTester, factored out common functionality.
  • Created the UI class DependencyGraphTesterUi
  • Modified Grapher to make draw(Graphics2D, Rectangle2D) and initialize() public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant