Skip to content

Commit

Permalink
docs: remove playground entry
Browse files Browse the repository at this point in the history
  • Loading branch information
towersxu committed Aug 19, 2021
1 parent ba6e804 commit f38aa2e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
12 changes: 6 additions & 6 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ module.exports = {
{ text: '版本公告', link: '/version-info/0.3.0' },
{ text: '文章', link: '/article/article01' },
],
thirdLinks: [
{
text: 'playground',
link: 'http://localhost:8001/'
}
],
// thirdLinks: [
// {
// text: 'playground',
// link: 'http://localhost:8001/'
// }
// ],
sidebar: {
'/guide/': guide,
'/version-info/': verisonInfo,
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/model/node/BaseNodeModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
ElementState, ModelType, ElementType,
} from '../../constant/constant';
import {
AdditionData, NodeData, NodeAttribute, NodeConfig, NodeMoveRule, Bounds,
AdditionData, NodeData, NodeAttribute, NodeConfig, NodeMoveRule, Bounds, Point,
} from '../../type';
import GraphModel from '../GraphModel';
import { IBaseModel } from '../BaseModel';
Expand Down Expand Up @@ -249,7 +249,7 @@ export default class BaseNodeModel implements IBaseModel {
return this.targetRules;
}

getAnchorsByOffset() {
getAnchorsByOffset(): Point[] {
const {
anchorsOffset, x, y, id,
} = this;
Expand Down
11 changes: 0 additions & 11 deletions packages/mvp/tsconfig.json

This file was deleted.

0 comments on commit f38aa2e

Please sign in to comment.