@argdown/core
    Preparing search index...

    Class MapPlugin

    This plugin creates the [[IArgdownResponse.map]] object.

    It takes the statements and arguments from the [[ISelection]] object found in [[IArgdownRequest.selection]] and transforms them into statement and argument nodes.

    It will then create edges for all relations between the selected statements and arguments.

    Depends on data from: [[IPreselectionPlugin]], [[IStatementSelectionPlugin]], [[IArgumentSelectionPlugin]].

    This plugin is not responsible for creating group nodes. That is the job of the [[GroupPlugin]].

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    defaults: IMapSettings
    name: string = "MapPlugin"

    The name of the plugin

    prepare: IRequestHandler = ...

    Called each time the plugin's processor is run, before any other method of this plugin is called. Use this to add default settings to the request and to check that all required data is present in the response. If not, throw an [[ArgdownPluginError]] to cancel the the current processor's execution.

    run: IRequestHandler = ...

    Use this method to do the main work outside of the Argdown AST. This is the last method to be called by the [[ArgdownApplication]].

    Methods