-
Notifications
You must be signed in to change notification settings - Fork 1
/
ui.R
31 lines (31 loc) · 1.04 KB
/
ui.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
shinyUI(
navbarPage("Concept-Map",
# tab panel with user interaction
tabPanel("Visual",
br(),
sidebarLayout(
# create button options
sidebarPanel(
actionButton("filter", "Create Concept Map")
),
# comcept map display panel
mainPanel(
tags$head(
tags$link(rel = "stylesheet", type = "text/css", href = "concept-map.css")
),
tags$script(src="concept-map.js"), # main charing js code.
# load support scripts for concept-map visuals.
# ref: https://github.com/gp187/d3-concept-map/tree/master/lib
tags$script(src="d3.min.js"),
tags$script(src="jquery-2.1.3.min.js"),
tags$script(src="packages.js"),
# Load R message handler js for handshake between Shiny & d3 visual
tags$script(src="shiny_handler.js"),
#create div ids referring to div in the shiny_handler.js
tags$div(id="plot", class="conceptmap"),
tags$div(id="plot-info")
)
)
)
)
)