Beispiel #1
0
        // ReSharper disable once UnusedMember.Local
        private void GenerateSequenceGraph()
        {
            sequenceGraph = GraphXSequenceGraph.Create(
                new AminoAcidSet(SearchModifications, MaxDynamicModifications),
                string.Empty,
                SearchModifications.ToList());
            if (sequenceGraph == null)
            {
                return;
            }

            var graph = sequenceGraph.DataGraph;

            Graph = graph;
            SequenceGraphArea.LogicCore.Graph = graph;
            SequenceGraphArea.ShowAllEdgesLabels();
            SequenceGraphArea.GenerateGraph(true);
        }
Beispiel #2
0
 /// <summary>
 /// Event handler that is triggered when the sequence graph has loaded.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The event arguments.</param>
 private void SequenceGraphArea_Loaded(object sender, RoutedEventArgs e)
 {
     SequenceGraphArea.ShowAllEdgesLabels();
     SequenceGraphArea.GenerateGraph(true);
 }