How to use the @argdown/core.LabelMode.HIDE_UNTITLED function in @argdown/core

To help you get started, we’ve selected a few @argdown/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github christianvoigt / argdown / packages / argdown-cli / src / commands / MapCommand.ts View on Github external
import { StatementSelectionMode, LabelMode } from "@argdown/core";
import { IGeneralCliOptions } from "../IGeneralCliOptions";

export const command = "map [inputGlob] [outputDir]";
export const desc = "export Argdown input as DOT files";
export const builder = {
  useHtmlLabels: {
    alias: "html-labels",
    describe: "Use HTML node labels",
    type: "boolean"
  },
  argumentLabelMode: {
    alias: "argument-labels",
    choices: [
      undefined,
      LabelMode.HIDE_UNTITLED,
      LabelMode.TITLE,
      LabelMode.TEXT
    ],
    type: "string",
    describe: "The method by which argument label content is selected"
  },
  statementLabelMode: {
    alias: "statement-labels",
    choices: [
      undefined,
      LabelMode.HIDE_UNTITLED,
      LabelMode.TITLE,
      LabelMode.TEXT
    ],
    type: "string",
    describe: "The method by which statement label content is selected"
github christianvoigt / argdown / packages / argdown-sandbox / src / store.js View on Github external
url: "/sandbox/examples/Populism-Core-Argument-Argdown-Example.argdown"
  }
};

export default new Vuex.Store({
  state: {
    argdownInput: primer,
    examples: examples,
    useArgVu: false,
    config: {
      selection: {
        excludeDisconnected: true,
        statementSelectionMode: StatementSelectionMode.WITH_TITLE
      },
      map: {
        statementLabelMode: LabelMode.HIDE_UNTITLED,
        argumentLabelMode: LabelMode.HIDE_UNTITLED
      },
      group: {
        groupDepth: 2
      },
      dot: {
        graphVizSettings: {
          rankdir: "BT",
          concentrate: "false",
          ratio: "auto",
          size: "10,10"
        }
      },
      dagre: _.defaultsDeep({}, dagreDefaultSettings),
      vizJs: _.defaultsDeep({}, vizJsDefaultSettings),
      model: {
github christianvoigt / argdown / packages / argdown-sandbox / src / store.js View on Github external
}
};

export default new Vuex.Store({
  state: {
    argdownInput: primer,
    examples: examples,
    useArgVu: false,
    config: {
      selection: {
        excludeDisconnected: true,
        statementSelectionMode: StatementSelectionMode.WITH_TITLE
      },
      map: {
        statementLabelMode: LabelMode.HIDE_UNTITLED,
        argumentLabelMode: LabelMode.HIDE_UNTITLED
      },
      group: {
        groupDepth: 2
      },
      dot: {
        graphVizSettings: {
          rankdir: "BT",
          concentrate: "false",
          ratio: "auto",
          size: "10,10"
        }
      },
      dagre: _.defaultsDeep({}, dagreDefaultSettings),
      vizJs: _.defaultsDeep({}, vizJsDefaultSettings),
      model: {
        removeTagsFromText: false