@argdown/core
    Preparing search index...

    Class ArgumentSelectionPlugin

    Excludes all arguments from the selection that are not connected by any relation to another element in the selection.

    This plugin should be run after the [[PreselectionPlugin]] and [[StatementSelectionPlugin]] and before the [[MapPlugin]]. The exclusion can be deactivated by using setting excludeDisconnected selection setting to false.

    An argument is considered to be connected if

    • argument.relations is not empty
    • a premise is supported/attacked by another argument or selected statement
    • the main conclusion is supporting/attacking another argument or selected statement
    • an inference is undercut by an argument or a selected statement
    • implicit support: a premise is equivalent with a main conclusion of another argument or a selected statement
    • implicit support: the main conclusion is equivalent with a premise of another argument or a selected statement

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    defaults: ISelectionSettings
    name: string = "ArgumentSelectionPlugin"

    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