0.1.0Component to display a dependency tree for one single module
Extends React.Component
(any)
Component that displays a bubble based tree map for a study program. Visualisation is based on d3.
Extends React.Component
(any)
Initialize the d3 module dependency tree chart and renders it in a svg object
Calculates background color based on state of specific module group
(any)
Node to fill
(any)
status of node
any:
hex color value
Change module status and trigger setting of new state
(any)
Node of module that has changed
Function to toggle view of Module Group titles to view of Module shorthand titles
Adding Module abbreviation labels to view
Initializes all module labels
Append icon at specivic point
(any)
d3 node where icon has to be added
(any)
svg source of icon
Initializes all module group nodes
Updates progress states of module group nodes
Updates views of all module nodes
Initializes click events on module nodes
(any)
Data point of node
Initialize click event on dependency tree icon
(any)
Zoom function for zooming to specific node/bubble
(any)
View of module node in focus
Zoom transition and setting behaviour of contained nodes
(any)
Data point that is now on focus
Component for detail view of a single module group
Extends React.Component
(any)
Component for Navigation Bar and responsible for routing links
Extends React.Component
Adds an event listener for scrolling evnets. Adds a class to the component when window is scrolled.
Main view for overview. Shows general information such as progress bars, general links etc.
Extends React.Component
(any)
Inits container with content of general study program content
(any)
root data
any:
component element with progress data
Inits a list with warnings or information about the the general study program progress
any:
Inits container with all module groups and their state
any:
component element with progress data of module groups
Inits container with content of negative credits
(any)
root data
any:
component element with progress data
Inits a list with warnings or information about if too many negative credits where achieved
(any)
any:
Inits container with content of assessment credits content
(any)
root data
any:
component element with progress data
Progressbar and labels for dynamical displaying of progress
Extends React.Component
(any)
Main page of React application
(Object)
Page to display
| Name | Description |
|---|---|
children.children any
|
any:
View of application
Component of main page that centralizes methods to set and get data
Extends React.Component
(any)
Icons as SVG paths
Class for constant variables
Link to public page of the study program iCompetence
string:
url of study program
Link to public page of the study program iCompetence
string:
url of study program
State of module that was passed in second attempt
Type: number
State of module that was considered by study program director
Type: number
Minimum total of credits that are needed to pass the assessment
Type: number
Data service to process, update and manipulate data
Parse fetched json from server into for d3 processable format
(any)
Json to parse
any:
Parsed json
Recursive to pre process node data. Adds needed attributes to nodes in data.
(any)
Root json
any:
Root json with processed data
Method to process recursively a nested data structure and find node by it's evento id
(any)
Evento id
(any)
Root node where search should start
any:
Find recursively all nodes that are module group nodes
(any)
Root node where search should start
(any)
Empty array
any:
Array with module group nodes
Resets worked module nodes back to initial state false
(any)
Root node
Generates new tree structure based on module dependencies of modules
(any)
Root module node to start search with
(any)
Data to work with
any:
New tree structure of modules with dependencies
Recursive to update progress data of each module group
(any)
Root data to start with
Calculate and roll up credits in data
(any)
Entry data point
Reset progress data to factory settings
(any)
Root data
(any)
Leaf nodes
Roll up sum of credits through module group nodes according to status of leaf nodes
(any)
Root data
(any)
Leaf nodes
Roll up sum of credits of assessment modules through module group nodes
(any)
Root data
(any)
Leaf nodes
Roll up sum of negative credits through module group nodes
(any)
Root data
(any)
Leaf nodes
Roll up general credits from data
(any)
Root data