Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add requested features #186

Merged
merged 59 commits into from
May 12, 2024
Merged

Add requested features #186

merged 59 commits into from
May 12, 2024

Conversation

hdavid16
Copy link
Contributor

@hdavid16 hdavid16 commented Aug 5, 2022

This PR merges the following individual PR's that address feature requests. I merged them to avoid conflicts when rebasing each time a different PR is merged.

#178 - set background color (conflicts with changing plot size; conflict fixed in this PR). Closes issue #172.
#181 - fix bug in shell_layout. Closes issue #149
#182 - set plot size. Closes issues #94 #147 #161
#183 - add plot title. Closes issue #107
#184 - make self-loops curved. Closes issue #160
#185 - fix bug in spring_layout. Closes issue #154

Also fixes the second point in issue #150 by switching the arrows to be triangles.
Also closes issue #95
Also fixes issue #190

-distinguish args, kwargs
-add missing kwargs
clarify that Cairo is required to visualize in vscode
Checking for System OS was outdated
-allow gplothtml to accept same arguments as gplot
-allow x/y-locs to be of different type (<: Real)
and minor changes to plots.jl
update README
-Allow add title
-Set title color and size
-Set font family for entire plot
-Remove unneded Compose objects (the ones with `nothing` as the arg)
behavior is regardless of the linetype
-relevant for plots with curved self-loops and long node labels
Multiple dispatch was messing up because types were not specified for spring layout and `kws` not preceeded by `;`
@hdavid16 hdavid16 mentioned this pull request Dec 12, 2022
@hdavid16
Copy link
Contributor Author

@simonschoelly do you want me to split this up into small PRs? This has been sitting here for several months. If I make small PRs would you or someone else review them? Thanks.

@etiennedeg
Copy link
Member

This is pending for too long and this would greatly improve the situation, we need to merge it.
As it is now, it seems fine.
@simonschoelly @gdalle, if you want to take a look, otherwise I will merge it in a week.

@gdalle
Copy link
Member

gdalle commented May 3, 2024

Realistically I won't have time to review this and I know nothing about GraphPlot so I'm leaving the decision in your hands. My approach is always that some improvement is better than no improvement at all, even if it's not perfect

@etiennedeg etiennedeg merged commit 8ebe46b into JuliaGraphs:master May 12, 2024
@etiennedeg
Copy link
Member

@hdavid16 Thanks for the PR, and sorry for the excessive delay.

@hdavid16
Copy link
Contributor Author

Thanks @etiennedeg . Might be good to go a new patch or minor release with the added features.

@etiennedeg
Copy link
Member

etiennedeg commented May 13, 2024

Yes, I wonder if we can get #193 in the release, but it will depend on Graphs#376. If it takes too long for someone to review it, I will do a release without it.

@etiennedeg
Copy link
Member

@hdavid16 I did a release

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.

4 participants