Skip to content

Commit

Permalink
Visualize fontcolor of criteria nodes is now black
Browse files Browse the repository at this point in the history
  • Loading branch information
gluc committed Nov 15, 2017
1 parent fc4521b commit d025e39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# All changes to ahp are documented here.

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


## Version 0.2.11 (CRAN)
- IMPROVE: Update to latest DiagrammeR updates
- ADD: RunGUI now contains an optional port parameter
Expand Down
2 changes: 1 addition & 1 deletion R/visualize.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' @importFrom yaml as.yaml
#' @export
Visualize <- function(ahpTree,
criteriaNodesStyle = list(style = "filled,rounded", shape = "box", color = "honeydew4", fillcolor = "honeydew", penwidth = 4, fontname="helvetica"),
criteriaNodesStyle = list(style = "filled,rounded", shape = "box", color = "honeydew4", fillcolor = "honeydew", penwidth = 4, fontname="helvetica", fontcolor = "black"),
alternativeNodesStyle = list(style = "filled,rounded", shape = "box", color = "thistle4", fillcolor = "thistle", penwidth = 4, fontname="helvetica"),
criteriaEdgesStyle = list(arrowhead = "vee", color = "grey35", penwidth = 2),
alternativeEdgesStyle = list(dir = "none", color = "grey35", penwidth = 2)
Expand Down

0 comments on commit d025e39

Please sign in to comment.