Skip to content

URI Parameters

Shadow992 edited this page Mar 10, 2018 · 7 revisions

TGView can be given various URL parameters:

  • type: the graph type. This is used to determine the respective Graph Source There are currently the following types:
    • archivegraph: Shows all modules in given archive
    • thgraph: Shows the immediate periphery (direct dependencies) of selected theory
    • pgraph: Shows all modules residing in a given path
    • docgraph: Shows all theories declared in given document
    • mpd: Shows special graphs with respect to models (e.g. MathML, ...)
  • graphdata: the graph data, i.e. the respective theory graph to be focused on.
  • highlight: Allows to highlight nodes by name, example usage:
  • viewOnlyMode: If this parameter is set to true (on default false), the side-menus are not collapse-/showable, but are hidden. Also the buttons to show/hide side menus are hidden and the graph can only be edited by drag and drop and contextmenu-actions. Example usage:
  • source: This parameter defines the source to load graph from (no need to set it manually, only used when working with embedded graphs)
Clone this wiki locally