Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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"
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: {
}
};
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