tech radar
1.0.0
في Zalando ، نحافظ على رادار التكنولوجيا العامة لمساعدة فرقنا الهندسية على التوافق مع خيارات التكنولوجيا. وهو يعتمد على العمل الرائد من قبل ThoughtWorks.
يحتوي هذا المستودع على الكود لإنشاء التصور: radar.js
(استنادًا إلى D3.JS V4). لا تتردد في استخدامه وتكييفه لأغراضك الخاصة.
d3.js
و radar.js
: < script src =" https://d3js.org/d3.v4.min.js " > </ script >
< script src =" https://zalando.github.io/tech-radar/release/radar-0.9.js " > </ script >
svg
فارغة: < svg id =" radar " > </ svg >
radar_visualization ( {
repo_url : "https://github.com/zalando/tech-radar" ,
svg_id : "radar" ,
width : 1450 ,
height : 1000 ,
scale : 1.0 ,
colors : {
background : "#fff" ,
grid : "#bbb" ,
inactive : "#ddd"
} ,
// Some font families might lead to font size issues
// Arial, Helvetica, or Source Sans Pro seem to work well though
font_family : "Arial, Helvetica" ,
title : "My Radar" ,
quadrants : [
{ name : "Bottom Right" } ,
{ name : "Bottom Left" } ,
{ name : "Top Left" } ,
{ name : "Top Right" }
] ,
rings : [
{ name : "INNER" , color : "#5ba300" } ,
{ name : "SECOND" , color : "#009eb0" } ,
{ name : "THIRD" , color : "#c7ba00" } ,
{ name : "OUTER" , color : "#e09b96" }
] ,
print_layout : true ,
links_in_new_tabs : true ,
entries : [
{
label : "Some Entry" ,
quadrant : 3 , // 0,1,2,3 (counting clockwise, starting from bottom right)
ring : 2 , // 0,1,2,3 (starting from inside)
moved : - 1 // -1 = moved out (triangle pointing down)
// 0 = not moved (circle)
// 1 = moved in (triangle pointing up)
// 2 = new (star)
} ,
// ...
]
} ) ;
يتم وضع الإدخالات تلقائيًا حتى لا تتداخل. يمكن أن تساعد المعلمة "المقياس" في ضبط حجم الرادار.
كمثال عمل ، يمكنك التحقق من docs/index.html
- مصدر رادار التكنولوجيا العامة لدينا.
Radar Tech هو صفحة ثابتة ، بحيث يمكن نشرها باستخدام أي مزود استضافة من اختيارك يقدم استضافة صفحات ثابتة.
yarn
yarn start
http://localhost:3000/
The MIT License (MIT)
Copyright (c) 2017-2024 Zalando SE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.