Skip to content

Commit

Permalink
fixed DiagrammeR problems
Browse files Browse the repository at this point in the history
  • Loading branch information
gluc committed Mar 6, 2018
1 parent d025e39 commit 4a85f6e
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 24 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: ahp
Type: Package
Title: Analytic Hierarchy Process
Version: 0.2.11
Date: 2017-01-05
Version: 0.2.12
Date: 2018-03-06
Author: Christoph Glur
Maintainer: Christoph Glur <[email protected]>
VignetteBuilder: knitr
Expand All @@ -27,4 +27,4 @@ URL: http://github.com/gluc/ahp
BugReports: http://github.com/gluc/ahp/issues
Depends:
R (>= 3.2.0)
RoxygenNote: 5.0.1
RoxygenNote: 6.0.1
4 changes: 2 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# All changes to ahp are documented here.

## Version 0.2.12 (in progress)
## Version 0.2.12 (CRAN)
- FIX: Visualize fontcolor of criteria nodes is now black

- FIX: Fixed problems relating to DiagrammeR changes

## Version 0.2.11 (CRAN)
- IMPROVE: Update to latest DiagrammeR updates
Expand Down
4 changes: 2 additions & 2 deletions R/visualize.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ GetGraph <- function(ahpTree,

edges <- DiagrammeR::combine_edfs(edges, edgesAlt, edgesAlts)

graph <- DiagrammeR::create_graph(nodes, edges)
graph <- DiagrammeR::set_global_graph_attrs(graph, "rankdir", "TB", "graph")
graph <- DiagrammeR::create_graph(nodes, edges, attr_theme = NULL)
graph <- DiagrammeR::add_global_graph_attrs(graph, "rankdir", "TB", "graph")
return (graph)

}
Expand Down
1 change: 0 additions & 1 deletion man/AhpMatrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/Analyze.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/Calculate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/GetPairwiseFromFunction.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/Load.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions man/PrioritiesFromPairwiseMatrixEigenvalues.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/PrioritiesFromScoresDefault.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/RunGUI.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions man/Visualize.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/ahp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4a85f6e

Please sign in to comment.