blob: c3742749ac2f41a48a423ba3fc520031d8b5a804 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/usr/bin/env python
# vim: set fileencoding=UTF-8:
# Copyright 2013 Red Hat, Inc.
# Author: Jan Pokorný <jpokorny at redhat dot com>
# Distributed under GPLv2+; generated content under CC-BY-SA 3.0
# (to view a copy, visit http://creativecommons.org/licenses/by-sa/3.0/)
"""Subgraph library incl. visual aspects"""
from lib import LibSubgraph
from lib_attributes import *
class SubgraphInvisible(LibSubgraph):
defaults = dict((
STYLE.invis,
))
class SubgraphImportant(LibSubgraph):
defaults = dict((
FILLCOLOR('#eaeaea'),
STYLE('bold, filled, rounded'),
))
class SubgraphStandard(LibSubgraph):
defaults = dict((
FILLCOLOR('#f5f5f5'),
STYLE('filled, rounded'),
))
|