summaryrefslogtreecommitdiffstats
path: root/src/graphlayout.h
blob: b403b7724f9c05bf3ae180e0bda0e96bb2da6af8 (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
// 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>

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