Source code for libka.kagraph.ka_graph_node_status
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# pylint: disable=line-too-long
# kate: space-indent on; indent-width 4; replace-tabs on; indent-mode python; remove-trailing-space modified;
# pylint: disable=line-too-long
# vim: expandtab ts=4
############################################################################
# Copyright © 2017-2020 José Manuel Santamaría Lema <panfaust@gmail.com> #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
############################################################################
"""This module just provides KAGraphNodeStatus"""
[docs]
class KAGraphNodeStatus: #pylint: disable=too-few-public-methods
"""Class to represent a package node status"""
def __init__(self, name, color, text='', url=''):
self.name = name
self.color = color
self.text = text
self.url = url