Repository navigation
Add Shape by Partition plugin 1.2.0 - #352
Open
MattArtzAnthro wants to merge 1 commit into
Open
MattArtzAnthro wants to merge 1 commit into
MattArtzAnthro wants to merge 1 commit into
Conversation
Draws nodes in Preview as one of eight shapes chosen by a categorical column, fits edges and arrowheads to each shape, and adds a legend for shape and, optionally, colour.
Author
|
A note for when CI is approved here: it will fail before reaching this module, the same as other open PRs. Two existing poms (CircularLayout and OrderedLayout) each declare one dependency twice, and the Maven on GitHub's ubuntu-latest runner now rejects that while reading the project. #353 removes the duplicates (8 deletions, no plugin change). With it, the full build passes on the same runner. This module builds and passes its 85 tests on JDK 17, the version the PR workflow uses. As with the PR, the diagnosis was worked out together with Claude, Anthropic's AI assistant. I built, ran, and verified everything on my own machine, and I am happy to re-run any of it. |
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New plugin or plugin update?
What is the purpose of this plugin?
Shape by Partition draws each node in Preview as one of eight shapes (circle, square, triangle, diamond, star, cross, downward triangle, hexagon), chosen by the node's value in a categorical column: the shape equivalent of Appearance's colour by partition. It lets a map carry two categorical variables at once, for example colour for detected communities and shape for a known attribute, and it keeps categories readable in greyscale and for colour-blind readers.
How to test your plugin in Gephi?
.nbm(Tools > Plugins > Downloaded > Add Plugins…) and restart Gephi.Inferred Class, then click Refresh.Modularity Class, then Refresh.Degree(run Average Degree first if the column is missing), then Refresh.messages.log) says which value broke the match.Checklist before submission
masterbranch to get the latest updates?pom.xmlfileBuilt against Gephi 0.11.1 (
gephi-plugin-parent0.11.1) and tested in Gephi 0.11.3 on macOS: 85 unit tests (including drawing the legend into G2D, SVG and PDF targets), a branch-coverage floor, and the steps above run by hand on the bundled Les Misérables sample.The plugin, its tests and this submission were worked out together with Claude, Anthropic's AI assistant. I built, ran, and verified everything on my own machine, and I am happy to re-run any of it.