Skip to content

Commit

Permalink
add GraphRecipes and StatsPlots as subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Oct 13, 2024
1 parent b05726c commit 4f5c118
Show file tree
Hide file tree
Showing 34 changed files with 5,814 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,7 @@ jobs:
JULIA_PKG_PRECOMPILE_AUTO: 0
run: julia --color=yes ci/matplotlib.jl

- name: Test downstream packages
if: startsWith(matrix.os, 'ubuntu')
run: |
xvfb-run julia --color=yes ci/downstream.jl GraphRecipes
xvfb-run julia --color=yes ci/downstream.jl StatsPlots
- name: Test RecipesBase, RecipesPipeline, PlotsBase, Plots
- name: Test all Plots packages
timeout-minutes: 60
run: |
cmd=(julia --color=yes)
Expand All @@ -93,6 +87,7 @@ jobs:
echo ${cmd[@]}
${cmd[@]} -e '
using Pkg
foreach(name -> Pkg.test(name; coverage=true), ("GraphRecipes", "StatsPlots"))
foreach(name -> Pkg.test(name; coverage=true), ("RecipesBase", "RecipesPipeline", "PlotsBase", "Plots"))
'
Expand Down
45 changes: 45 additions & 0 deletions GraphRecipes/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name = "GraphRecipes"
uuid = "bd48cda9-67a9-57be-86fa-5b3c104eda73"
version = "1.0"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
GeometryTypes = "4d00f742-c7ba-57c2-abde-4428a4b178cb"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
Interpolations = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NaNMath = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
NetworkLayout = "46757867-2c16-5918-afeb-47bfcb05e46a"
PlotUtils = "995b91a9-d308-5afd-9ec6-746e21dbc043"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[compat]
AbstractTrees = "0.4"
GeometryTypes = "0.8"
Graphs = "1.7"
Interpolations = "0.13 - 0.15"
NaNMath = "1"
NetworkLayout = "0.4"
PlotUtils = "0.6.2, 1"
RecipesBase = "1"
Statistics = "1"
julia = "1.10"

[extras]
Gtk = "4c0ca9eb-093a-5379-98c5-f87ac0bbbf44"
ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
VisualRegressionTests = "34922c18-7c2a-561c-bac1-01e79b2c4c92"

[targets]
test = ["Gtk", "ImageMagick", "LinearAlgebra", "Logging", "Markdown", "Plots", "Random", "SparseArrays", "StableRNGs", "Test", "VisualRegressionTests"]
24 changes: 24 additions & 0 deletions GraphRecipes/src/GraphRecipes.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module GraphRecipes

using Graphs
using PlotUtils # ColorGradient
using RecipesBase

using InteractiveUtils # subtypes
using LinearAlgebra
using SparseArrays
using Statistics
using NaNMath
using GeometryTypes
using Interpolations

import NetworkLayout
import Graphs: rng_from_rng_or_seed

include("utils.jl")
include("graph_layouts.jl")
include("graphs.jl")
include("misc.jl")
include("trees.jl")

end
Loading

0 comments on commit 4f5c118

Please sign in to comment.