File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Problems with lattice
2+
3+ 1 . NODER_PARSER in Z. 247 in renderLineGraph
4+ - fehlt hier ein "global NODER_PARSER"?
5+ - Variable wird nicht übrschrieben?
6+ - [ Tutorial: How to use global variables in Python] ( https://thispointer.com/python-how-to-use-global-variables-in-a-function/ )
7+
8+ 2 . Hierarche von Teilgraphen geht nicht (TM)
9+ networkx subgraph -> nicht so möglich, wie gewünscht (keine abgetrennten Teilgraphen und dazwischen keine Verbindungnen)
10+ - manuelle Position von Clustern bestimmen (graphviz, networtx)
11+ - [ Dokueintrag zu ` rank ` u.ä.. Geht nur in dot (nicht in fdp)] ( https://graphviz.org/docs/attrs/rank/ )
12+ - [ Dokueintrag: Wie man sog. Cluster erstellt] ( https://graphviz.org/Gallery/undirected/fdpclust.html )
13+ - [ Zusammenfassung (dot und anderes)] ( http://www.graphviz.org/pdf/dot.1.pdf )
14+ - [ Graphviz in Python, mit Beispielen] ( https://graphviz.readthedocs.io/en/stable/examples.html )
15+ - [ Tutorial: CausalNex plotting (networkx)] ( https://causalnex.readthedocs.io/en/latest/03_tutorial/03_plotting_tutorial.html )
16+ - [ Zusammenfassung von Graphviz] ( https://pygraphviz.github.io/documentation/stable/pygraphviz.pdf )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#!/usr/bin/python3
22
33import argparse
4- #import sys
54import graphviz
65
76import graphGeneration as g
87
9-
10- # 3. networkx subgraph -> nicht so, wie gewünscht (keine abgetrennten Teilgraphen und dazwischen keine Verbindungnen)
11- # TODO manuelle Position von Clustern bestimmen (graphviz)
8+ ####################################################################
9+ # How to
10+ #
11+ # Run script with ./createGraph
12+ # Add arguments, such as
13+ # --patterns_path path to the patterns file (default: ../lattice/patterns.lg)
14+ # --lattice_path path to the lattice file (default: ../lattice/lattice.lg)
15+ # --node_parser (default|patternsdebug|patternsrelease)
16+ # how the node labels in the patterns file should be interpreted
17+ ####################################################################
1218
1319d = graphviz .Digraph (filename = "../lattice/createGraph.gv" , engine = 'fdp' )
1420
@@ -184,6 +190,5 @@ def main():
184190 d .view ()
185191
186192
187-
188193if __name__ == "__main__" :
189194 main ()
You can’t perform that action at this time.
0 commit comments