Skip to content

Instantly share code, notes, and snippets.

View sortafreel's full-sized avatar
💾
Learning

Alex Lebedev sortafreel

💾
Learning
View GitHub Profile
@sortafreel
sortafreel / scheme.py
Last active April 2, 2020 18:11
NetworkX Visualization of random simple scheme
import networkx as nx
import matplotlib.pyplot as plt
from networkx.readwrite.json_graph import (node_link_data, tree_data)
from pprint import pprint
from networkx.drawing.nx_agraph import graphviz_layout
G = nx.DiGraph()
nodes = [
{'label': 'root'},
{'label': 'field'},
@sortafreel
sortafreel / .gitignore
Last active December 10, 2022 15:15 — forked from GhostofGoes/.gitignore
Basic .gitignore template for Python projects
# Editors
.vscode/
.idea/
# Vagrant
.vagrant/
# Mac/OSX
.DS_Store