DependencyGraph

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

Methods

AllSources

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

AllTargets

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

Connect

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

CreateGraph

#
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.
public DependencyGraph.Node[] CreateGraph(
origin
File which serves as the origin anchor for the graph.
)

ShowGraphInWindow

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