mirror of https://codeberg.org/topola/topola.git
board: move board to its own directory
This commit is contained in:
parent
cd1e78db6f
commit
1dc3718159
|
|
@ -14,10 +14,10 @@ use thiserror::Error;
|
|||
|
||||
use crate::{
|
||||
autorouter::{
|
||||
board::Board,
|
||||
ratsnest::{Ratsnest, RatvertexIndex},
|
||||
selection::Selection,
|
||||
},
|
||||
board::Board,
|
||||
drawing::{
|
||||
dot::FixedDotIndex,
|
||||
graph::{GetLayer, GetMaybeNet},
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
mod autorouter;
|
||||
pub mod board;
|
||||
pub mod history;
|
||||
pub mod invoker;
|
||||
pub mod ratsnest;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ use std::collections::HashSet;
|
|||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::{
|
||||
autorouter::board::Board,
|
||||
board::Board,
|
||||
drawing::{
|
||||
graph::{GetLayer, MakePrimitive, PrimitiveIndex},
|
||||
rules::RulesTrait,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ use rstar::AABB;
|
|||
use spade::InsertionError;
|
||||
|
||||
use topola::{
|
||||
autorouter::{board::Board, ratsnest::Ratsnest, selection::Selection},
|
||||
autorouter::{ratsnest::Ratsnest, selection::Selection},
|
||||
board::Board,
|
||||
drawing::{
|
||||
graph::{GetLayer, MakePrimitive},
|
||||
primitive::MakePrimitiveShape,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
mod board;
|
||||
|
||||
pub use board::*;
|
||||
|
|
@ -4,7 +4,7 @@ use geo::{point, Point, Rotate, Translate};
|
|||
use thiserror::Error;
|
||||
|
||||
use crate::{
|
||||
autorouter::board::Board,
|
||||
board::Board,
|
||||
drawing::{dot::FixedDotWeight, seg::FixedSegWeight, Drawing},
|
||||
dsn::{
|
||||
de,
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ pub mod graph;
|
|||
#[macro_use]
|
||||
pub mod drawing;
|
||||
pub mod autorouter;
|
||||
pub mod board;
|
||||
pub mod dsn;
|
||||
pub mod geometry;
|
||||
pub mod layout;
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@ use std::fs::File;
|
|||
use petgraph::{stable_graph::NodeIndex, unionfind::UnionFind, visit::NodeIndexable};
|
||||
use topola::{
|
||||
autorouter::{
|
||||
board::Board,
|
||||
history::HistoryError,
|
||||
invoker::{Invoker, InvokerError},
|
||||
Autorouter,
|
||||
},
|
||||
board::Board,
|
||||
drawing::{
|
||||
graph::{GetLayer, GetMaybeNet},
|
||||
rules::RulesTrait,
|
||||
|
|
|
|||
Loading…
Reference in New Issue