summaryrefslogtreecommitdiffstats
path: root/src/object/algorithms/graphlayout.h
blob: 6c6b601f59c137bdaa2ec11632822a5b98e38481 (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
// SPDX-License-Identifier: GPL-2.0-or-later
/**
 * @file
 * graph layout functions.
 */
/*
 * Authors:
 *   Tim Dwyer <tgdwyer@gmail.com>
 *
 * Copyright (C) 2005 Authors
 *
 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
 */

#ifndef SEEN_GRAPHLAYOUT_H
#define SEEN_GRAPHLAYOUT_H

#include <list>
#include <vector>

class SPItem;

void graphlayout(std::vector<SPItem*> const &items);

bool isConnector(SPItem const *const item);

void filterConnectors(std::vector<SPItem*> const &items, std::list<SPItem *> &filtered);

#endif // SEEN_GRAPHLAYOUT_H