DependencyGraph

References
public sealed class DependencyGraph
A graph representing the loaded portion of document dependencies.

Methods

AllSources

#
public IEnumerable<string> AllSources(string target)
Enumerate over all sources of a specific target file.
target (string)

AllTargets

#
public IEnumerable<string> AllTargets(string source)
Enumerate over all targets of a specific source file.
source (string)

Connect

#
public bool Connect(string source, string target)
Create a causal connection between two files.
source (string)Source file providing shared data.
target (string)Target file consuming shared data.
True if connection was made, false if connection already existed.

CreateGraph

#
public DependencyGraph.Node[] CreateGraph(string origin)
Create a graph layout for the dependencies as recorded in this instance. This method is not thread-safe, you should not modify this instance while this method is running.
origin (string)File which serves as the origin anchor for the graph.

ShowGraphInWindow

#
public Dialog ShowGraphInWindow(string origin, Document document)
Create a dialog showing the dependency graph, with a layout stored in the given document.
origin (string)
document (Document)