{{/* GraphQL Voyager Shortcode Parameters: - schema: path to the GraphQL schema file (relative to static directory) - height: height of the container (default: 600px) - title: optional title to display above the visualization - skipRelay: skip relay-related entities (default: true) - skipDeprecated: skip deprecated fields (default: true) - sortByAlphabet: sort fields alphabetically (default: false) - showLeafFields: show scalar and enum fields (default: true) - hideRoot: hide the root type (default: false) - hideDocs: hide the documentation sidebar (default: false) - hideSettings: hide the settings panel (default: false) - hideVoyagerLogo: hide the voyager logo (default: true) - allowToChangeSchema: allow users to change schema (default: false) */}} {{ $schema := .Get "schema" | default "schema.graphql" }} {{ $height := .Get "height" | default "600px" }} {{ $title := .Get "title" }} {{ $skipRelay := .Get "skipRelay" | default "true" }} {{ $skipDeprecated := .Get "skipDeprecated" | default "true" }} {{ $sortByAlphabet := .Get "sortByAlphabet" | default "false" }} {{ $showLeafFields := .Get "showLeafFields" | default "true" }} {{ $hideRoot := .Get "hideRoot" | default "false" }} {{ $hideDocs := .Get "hideDocs" | default "false" }} {{ $hideSettings := .Get "hideSettings" | default "false" }} {{ $hideVoyagerLogo := .Get "hideVoyagerLogo" | default "true" }} {{ $allowToChangeSchema := .Get "allowToChangeSchema" | default "false" }} {{ $containerClass := .Get "class" | default "graphql-voyager-container" }} {{ $containerId := printf "voyager-%d" .Ordinal }}
{{ if $title }}

{{ $title }}

{{ end }}
Loading GraphQL Schema Visualization...